Replies: 3 comments 5 replies
-
There are multiple answers and solutions and probably a combination of them is required to get max speed ;-)
Usually 1 and 2 are combined. Here is an example for updateDisplayArea: https://github.com/olikraus/u8g2/blob/master/sys/arduino/u8g2_full_buffer/UpdateArea/UpdateArea.ino Example for clipWindow: https://github.com/olikraus/u8g2/blob/master/sys/arduino/u8g2_page_buffer/ClipWindow/ClipWindow.ino Example for setBufferCurrTileRow and sendBuffer: https://github.com/olikraus/u8g2/blob/master/sys/arduino/u8g2_page_buffer/UpdatePartly/UpdatePartly.ino |
Beta Was this translation helpful? Give feedback.
-
Simple: In page mode only one page is in uC memory, so the memory for the transfer is not there in page mode for updateDisplayArea(). |
Beta Was this translation helpful? Give feedback.
-
There are some documents, but probably no tutorial for lib developers. Maybe some basic ideas:
|
Beta Was this translation helpful? Give feedback.
-
I was just wondering is there is a way to update only a particular part of the Buffer to the display in order to try and save on clock cycles and energy for variables that update frequently that might just take 5% of the display pixels.
is there something like u8g2_sendBuffer_rect(&u8g2, FromX, FromY, ToX, ToY);
Beta Was this translation helpful? Give feedback.
All reactions