Closed dhysuiej closed 2 years ago
I'm not sure why but only after adding mainMenu[0].dirty = true;
I was able to update by hand the field. Also, it seems better that way, since I'm able to check the precision, for instance to update the field only when it changes in one whole unit or include up to an arbitrary number of decimal places.
I'm making some test combining the examples ClickEncoder and U8X8.
Basically the only changes I made were increasing the variable
test
and callingrefresh
before callingpoll
in the loop function.The result is that the
test
field is updated on the screen but the screen flickers. If I'm not mistaken there is a way to redraw only a portion of the creen with U8x8 but I'm not sure how to accomplish that with ArduinoMenu.Could someone please point me in the right direction to get only one specific field updated on the screen without causing the screen to flicker.
This is the ino file: