chsc6x 触摸屏控制器
chsc6x 触摸屏平台允许使用基于 chsc6x 芯片的触摸屏控制器与 ESPHome。
配置中需要设置 I²C 才能使此触摸屏正常工作。
此控制器用于带有 ILI9xxx 显示屏的 Seeed Studio Round Display for XIAO。

基础触摸屏配置
Section titled “基础触摸屏配置”# Example configuration entrytouchscreen: platform: chsc6x id: my_touchscreen display: my_display interrupt_pin: GPIO44-
id (可选, ID): 手动设置此触摸屏的 ID。
-
interrupt_pin (可选, Pin Schema): 触摸检测引脚。
-
还包括 Touchscreen 的所有其他选项。
ESP32S3 示例配置
Section titled “ESP32S3 示例配置”i2c: sda: GPIO5 scl: GPIO6
spi: clk_pin: GPIO7 mosi_pin: GPIO9
display: - platform: ili9xxx model: GC9A01A auto_clear_enabled: True invert_colors: True id: my_display cs_pin: GPIO2 dc_pin: GPIO4
touchscreen: platform: chsc6x id: my_touchscreen display: my_display interrupt_pin: GPIO44