Create base touchscreen component and refactor ektf2232 (#3083)

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
Jesse Hills
2022-01-26 16:26:46 +13:00
committed by GitHub
parent 3a62455948
commit ef832becf1
16 changed files with 224 additions and 159 deletions

View File

@@ -231,12 +231,3 @@ switch:
register_type: coil
address: 2
bitmask: 1
ektf2232:
interrupt_pin: GPIO36
rts_pin: GPIO5
rotation: 90
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: ["touch.x", "touch.y"]