You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Fix colors on lilygo_t_display_s3
This commit is contained in:
@@ -43,7 +43,7 @@ mpos.ui.main_display = st7789.ST7789(
|
||||
display_height=320,
|
||||
color_space=lv.COLOR_FORMAT.RGB565,
|
||||
# color_space=lv.COLOR_FORMAT.RGB888, # not supported on qemu
|
||||
color_byte_order=st7789.BYTE_ORDER_RGB,
|
||||
color_byte_order=st7789.BYTE_ORDER_BGR,
|
||||
# rgb565_byte_swap=False, # always False is data_bus.get_lane_count() == 8
|
||||
power_pin=9, # Must set RD pin to high, otherwise blank screen as soon as LVGL's task_handler starts
|
||||
reset_pin=5,
|
||||
|
||||
Reference in New Issue
Block a user