Closed scuba-hacker closed 5 months ago
Hi , @scuba-hacker
The work I do is limited, most of it is based on lvgl. For what you mentioned, can you submit a PR?
Hi , @scuba-hacker
The work I do is limited, most of it is based on lvgl. For what you mentioned, can you submit a PR?
Sure, will do!
Please add comments in the LilyGo_AMOLED.h/.cpp files to explain that there are restrictions on the use of pushColors and setAddrWind for the 2.4 inch board. I have come across these issues when using this functions to send TFT_eSprites that are not full screen (ie partial screen updates, as opposed to the TFT_eSPI example which uses full screen updates).
Currently there is no method for writing a sprite to the display that has an odd number of pixels width and/or is pushed to an odd numbered x-pixel location. I understand this might be due to the limitations of the 0x32 SPI command that is used in pushColors due to QSPI being used by this board, but is there not another command that can be used to deal with these conditions?
I don't see anyway of doing a smooth pixel-by-pixel horizontal scroll of any sprite, regardless of width, using partial screen updates.
Here's some example code to illustrate the problem. The top sprite output is good and the bottom sprite output is skewed.