mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Add ektf2232 touchscreen support (#3027)
This commit is contained in:
@@ -199,3 +199,12 @@ script:
|
||||
count: 5
|
||||
then:
|
||||
- logger.log: "looping!"
|
||||
|
||||
ektf2232:
|
||||
interrupt_pin: GPIO36
|
||||
rts_pin: GPIO5
|
||||
rotation: 90
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: ["touch.x", "touch.y"]
|
||||
|
||||
Reference in New Issue
Block a user