20240410
This commit is contained in:
11
esphome/templates/touchscreen_ft63x6.yaml
Executable file
11
esphome/templates/touchscreen_ft63x6.yaml
Executable file
@@ -0,0 +1,11 @@
|
||||
touchscreen:
|
||||
- platform: ft63x6
|
||||
id: ${id_prefix}_touch
|
||||
i2c_id: bus_a
|
||||
transform:
|
||||
mirror_y: true
|
||||
swap_xy: true
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
||||
Reference in New Issue
Block a user