Skip to content

Commit 0917e39

Browse files
lilygo_t_watch_s3_plus: fix orientation
1 parent f492278 commit 0917e39

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

internal_filesystem/lib/mpos/board/lilygo_t_watch_s3_plus.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
rgb565_byte_swap=True,
3737
backlight_pin=45,
3838
backlight_on_state=st7789.STATE_PWM,
39+
offset_y=80
3940
) # triggers lv.init()
4041
mpos.ui.main_display.init()
4142
mpos.ui.main_display.set_power(True)
@@ -48,6 +49,9 @@
4849
import pointer_framework
4950
indev=ft6x36.FT6x36(touch_dev, startup_rotation=pointer_framework.lv.DISPLAY_ROTATION._180)
5051

52+
mpos.ui.main_display.set_rotation(lv.DISPLAY_ROTATION._180)
53+
54+
5155
# TODO:
5256
# - battery
5357
# - IMU

0 commit comments

Comments
 (0)