1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add Lilygo t5 4.7 Touchscreen (#3084)

This commit is contained in:
Jesse Hills
2022-02-08 21:50:25 +13:00
committed by GitHub
parent 116ddbdd01
commit 94f944dc9c
10 changed files with 255 additions and 6 deletions

View File

@@ -328,6 +328,7 @@ binary_sensor:
number: 3
- platform: touchscreen
touchscreen_id: lilygo_touchscreen
id: touch_key1
x_min: 0
x_max: 100
@@ -561,3 +562,12 @@ touchscreen:
- logger.log:
format: Touch at (%d, %d)
args: ["touch.x", "touch.y"]
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: GPIO36
display: inkplate_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: ["touch.x", "touch.y"]