st7789: add scrolling functions to match st7735

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2021-01-31 11:09:42 +01:00
committed by Daniel Esteban
parent 01acd977f3
commit 0ed9683a52
2 changed files with 23 additions and 0 deletions
+2
View File
@@ -50,6 +50,8 @@ const (
GMCTRP1 = 0xE0
GMCTRN1 = 0xE1
GSCAN = 0x45
VSCRDEF = 0x33
VSCRSADD = 0x37
NO_ROTATION Rotation = 0
ROTATION_90 Rotation = 1 // 90 degrees clock-wise rotation