Skip to content

Commit f68e9b8

Browse files
committed
Update with touchscreen interrupt support
1 parent cb458ca commit f68e9b8

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/docs/devices/M5Stack-Tab5/index.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,14 @@ external_components:
183183
- source: github://pr#9403
184184
components: [const, mipi, mipi_dsi, esp_ldo]
185185
refresh: 1h
186-
187-
# The GPIO pin on the touchscreen has a pull-up resistor on the interrupt pin (which goes against the gt911 datasheet).
188-
# If we dont pull this line low, the touchscreen will not produce touches. The downside to this is that we cannot use
189-
# the interrupt pin for touchscreen events, and it has to poll every loop.
190-
# Note: This needs to be merged with the `switch` list above manually otherwise you will get duplicate key YAML errors.
191-
switch:
192-
- platform: gpio
193-
id: touch_interrupt
194-
pin: GPIO23
195-
restore_mode: ALWAYS_OFF
186+
- source: github://pr#9822
187+
components: gt911
188+
refresh: 1h
196189

197190
touchscreen:
198191
- platform: gt911
192+
interrupt_pin: GPIO23
193+
update_interval: never
199194
reset_pin:
200195
pi4ioe5v6408: pi4ioe1
201196
number: 5

0 commit comments

Comments
 (0)