1
0
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:
Jesse Hills
2022-01-21 15:45:49 +13:00
committed by GitHub
parent ec769ccf72
commit 6f8c7d9ec4
8 changed files with 439 additions and 0 deletions

View File

@@ -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"]