mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Rotate screen for ili9342 build #544
This commit is contained in:
parent
50817f057e
commit
006d4ffb3f
@ -16,9 +16,6 @@ build_flags =
|
||||
;region -- TFT_eSPI build options ------------------------
|
||||
; -D USER_SETUP_LOADED=1
|
||||
-D LGFX_USE_V1=1
|
||||
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
|
||||
-D TFT_WIDTH=240
|
||||
-D TFT_HEIGHT=320
|
||||
-D TFT_RST=-1
|
||||
-D TFT_SCLK=14
|
||||
-D TFT_DC=2
|
||||
@ -47,6 +44,9 @@ build_flags =
|
||||
${esp32-2432s028r.build_flags}
|
||||
-D ILI9341_DRIVER=1
|
||||
-D INVERT_COLORS=0
|
||||
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
|
||||
-D TFT_WIDTH=240
|
||||
-D TFT_HEIGHT=320
|
||||
-D TOUCH_DRIVER=0x2046 ; XPT2606 Resistive touch panel driver
|
||||
-D HASP_USE_LGFX_TOUCH=1
|
||||
-D TOUCH_CS=33
|
||||
@ -74,6 +74,9 @@ build_flags =
|
||||
${esp32-2432s028r.build_flags}
|
||||
-D ST7789_DRIVER=1
|
||||
-D INVERT_COLORS=0
|
||||
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
|
||||
-D TFT_WIDTH=240
|
||||
-D TFT_HEIGHT=320
|
||||
-D TOUCH_DRIVER=0x2046 ; XPT2606 Resistive touch panel driver
|
||||
-D HASP_USE_LGFX_TOUCH=1
|
||||
-D TOUCH_CS=33
|
||||
@ -102,6 +105,9 @@ build_flags =
|
||||
${esp32-2432s028r.build_flags}
|
||||
-D ILI9342_DRIVER=1
|
||||
-D INVERT_COLORS=1
|
||||
-D TFT_ROTATION=4 ; 0=0, 1=90, 2=180 or 3=270 degree
|
||||
-D TFT_WIDTH=320
|
||||
-D TFT_HEIGHT=240
|
||||
-D TOUCH_DRIVER=0x2046 ; XPT2606 Resistive touch panel driver
|
||||
-D HASP_USE_LGFX_TOUCH=1
|
||||
-D TOUCH_CS=33
|
||||
|
Loading…
x
Reference in New Issue
Block a user