mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Update touch screen config
This commit is contained in:
parent
735f730669
commit
b7bb58c960
@ -28,15 +28,20 @@ build_flags =
|
||||
-D TFT_MOSI=23 ; FCP pin6 SDA
|
||||
-D TFT_MISO=25 ; FCP pin7 SDO
|
||||
-D TFT_BCKL=5
|
||||
;CONFIG_LVGL_TOUCH_SCL_GPIO=0
|
||||
;CONFIG_LVGL_TOUCH_SDA_GPIO=4
|
||||
;-D TOUCH_CS=22
|
||||
-D TOUCH_DRIVER=6336
|
||||
-D TOUCH_SDA=4
|
||||
-D TOUCH_SCL=0
|
||||
-D TOUCH_IRQ=-1 ; use 34-39 as these are input only pins
|
||||
-D TOUCH_RST=-1 ; not used, connected to 3.3V
|
||||
-D USE_TFT_ESPI=1
|
||||
;endregion
|
||||
|
||||
;region -- Library options -------------------------------
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
||||
${esp32.lib_deps}
|
||||
;git+https://github.com/lvgl/lvgl_esp32_drivers.git
|
||||
git+https://github.com/aselectroworks/Arduino-FT6336U.git
|
||||
|
||||
lib_ignore =
|
||||
${env.lib_ignore}
|
||||
|
@ -47,6 +47,7 @@ mrb3511 =
|
||||
-D USER_SETUP_LOADED=1
|
||||
-D TOUCH_DRIVER=911 ; GT911 Capacitive I2C touch panel driver
|
||||
-D SUPPORT_TRANSACTIONS
|
||||
-D I2C_TOUCH_FREQUENCY=400000
|
||||
|
||||
st7789v =
|
||||
-D ST7789_DRIVER=1
|
||||
@ -64,6 +65,7 @@ st7789v =
|
||||
-D USER_SETUP_LOADED=1
|
||||
-D TOUCH_DRIVER=6336 ; FT6336U Capacitive I2C touch panel driver
|
||||
-D SUPPORT_TRANSACTIONS
|
||||
-D I2C_TOUCH_FREQUENCY=400000
|
||||
|
||||
wireless-tag =
|
||||
-D ST7796_DRIVER=1
|
||||
@ -75,3 +77,4 @@ wireless-tag =
|
||||
-D USER_SETUP_LOADED=1
|
||||
-D TOUCH_DRIVER=6336 ; FT6336U Capacitive I2C touch panel driver
|
||||
-D SUPPORT_TRANSACTIONS
|
||||
-D I2C_TOUCH_FREQUENCY=400000
|
||||
|
Loading…
x
Reference in New Issue
Block a user