Before moving on to the topic of this article, let’s figure out the problem that came up in the previous one, where adding an OLED display made the rotary encoder readout unreliable.
The problem is caused by the OLED’s display update code, which takes some time:
lcd-init ok. : a micros 1234 shownum micros swap - . ; ok. a 48444 ok. That’s about 48 milliseconds to update the display. Over half of this time is caused by the way digits are drawn on the display, which uses a very crude approach: pixel by pixel drawing (!
↧