mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Create GT911 Touchscreen component (#4027)
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
This commit is contained in:
@@ -405,6 +405,10 @@ binary_sensor:
|
||||
y_max: 100
|
||||
on_press:
|
||||
- logger.log: Touched
|
||||
- platform: gt911
|
||||
id: touch_key_911
|
||||
index: 0
|
||||
|
||||
|
||||
- platform: gpio
|
||||
name: MaxIn Pin 4
|
||||
@@ -725,6 +729,10 @@ touchscreen:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
||||
- platform: gt911
|
||||
interrupt_pin: GPIO3
|
||||
display: inkplate_display
|
||||
|
||||
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: GPIO26
|
||||
|
||||
Reference in New Issue
Block a user