FT63X6 Touchscreen Controller¶
The ft63x6
component allows using the touchscreen controller found in
Seeed Studio’s WT32-SC01
with ESPHome.
The I²C is required to be set up in your configuration for this sensor to work.
# Example configuration entry
esp32:
board: m5stack-core2
framework:
type: arduino
i2c:
sda: GPIO18
scl: GPIO19
scan: false
output:
- platform: ledc
pin: GPIO23
id: screen_led
light:
- platform: monochromatic
output: screen_led
default_transition_length: 0.2s
name: 'Backlight'
restore_mode: ALWAYS_ON
touchscreen:
- platform: ft63x6
interrupt_pin: GPIO39
on_touch:
- logger.log:
format: Touch %d at (%d, %d)
args: [touch.id, touch.x, touch.y]
Configuration variables:¶
id (Optional, ID): Manually set the ID of this touchscreen.
reset_pin (Optional, Pin Schema): The reset pin of the controller.
interrupt_pin (Optional, Pin Schema): The touch detection pin.
All other options from Base Touchscreen Configuration.