Closed malachib closed 7 years ago
How is this used? The flowchart in the datasheet seems very complex compared to your single command.
To summarize, the call changes the start pointer (offset) of where the display renders from. Therefore, memory contents remain unchanged when the screen scrolls. The "y" is the # of pixels to offset from
For example, if scrolling up, the disappearing part from the top reappears at the bottom.
I believe this was added in https://github.com/adafruit/Adafruit_ILI9341/commit/7703b623235b3e63aac3e00b2a1655ffbca28580
and I sent a small cleanup for it in https://github.com/adafruit/Adafruit_ILI9341/pull/26 including demo code for the new ScrollTo method that was added.
@malachib do you mind closing this request if you agree that the current code indeed supports what you wanted?
I apologize I am out of the loop for testing this functionality now. The project I made this change for is defunct. I'd defer to your judgement in this case
Not implementing the set region API (command 0x33). Hardware scroll will apply to the whole screen by default without the region API call.