mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
example: LCD and touch panel share the same SPI bus
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice EXAMPLE_LCD_CONTROLLER
|
||||
prompt "LCD controller model"
|
||||
default EXAMPLE_LCD_CONTROLLER_ILI9341
|
||||
help
|
||||
Select LCD controller model
|
||||
|
||||
config EXAMPLE_LCD_CONTROLLER_ILI9341
|
||||
bool "ILI9341"
|
||||
|
||||
config EXAMPLE_LCD_CONTROLLER_GC9A01
|
||||
bool "GC9A01"
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_LCD_TOUCH_ENABLED
|
||||
bool "Enable LCD touch"
|
||||
default n
|
||||
help
|
||||
Enable this option if you wish to use display touch. You can select from touch controllers.
|
||||
|
||||
choice EXAMPLE_LCD_TOUCH_CONTROLLER
|
||||
prompt "LCD touch controller model"
|
||||
depends on EXAMPLE_LCD_TOUCH_ENABLED
|
||||
default EXAMPLE_LCD_TOUCH_CONTROLLER_STMPE610
|
||||
help
|
||||
Select LCD touch controller model
|
||||
|
||||
config EXAMPLE_LCD_TOUCH_CONTROLLER_STMPE610
|
||||
bool "STMPE610"
|
||||
help
|
||||
Touch controller STMPE610 connected via SPI.
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user