Efficient Pixel Control System without Blink #1069
Replies: 2 comments 1 reply
-
I think a paged sprite update approach will achieve what you wish to do. Essentially a small sprite is used and drawn at successive positions down the screen. The whole screen is then drawn in the sprite with an offset as the sprite position moves down the screen. Tricky to explain so here is an example the demonstrates the approach. You will have to analyse the sketch to see how it works. On my test screen (ILI9488 320x480 pixels) it only takes ~16ms to render the updated area (200 x 320 area as an example only) to the TFT. If you try to read the TFT screen it will be much slower. |
Beta Was this translation helpful? Give feedback.
-
The ESP32 does not have enough RAM For such a large sprite unless your board is fitted with PSRAM and you enable it in the IDE. This is fully explained here . |
Beta Was this translation helpful? Give feedback.
-
I want Efficient Pixel Control System without Blink.
For example, see following code.
This code always draw green background on LCD, before draw the sprite.
So, it blink.
Only required pixels should change.
I have simple idea.
Beta Was this translation helpful? Give feedback.
All reactions