russhughes/st7789_mpy

How to scroll horizontal?

jd3096-mpy opened this issue · 1 comments

Like micropython offical method ,we can use
FrameBuffer.scroll(xstep, ystep)
So it can easily scroll horizontal and Vertical.

In this repo, I found the vscrdef(tfa, height, bfa) vscsad(vssa) method ,they only can scroll vertical,I tried to set rotation=1, the screen direction rotation 90 degree ,but scroll direction is still unchanged.
So,how to to scroll horizontal?

The vscsad is a hardware scroll that only scroll in the one axis.