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

Add TT21100 touchscreen component (#4793)

Co-authored-by: Rajan Patel <rpatel3001@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Stefan Rado
2023-07-12 03:19:19 +02:00
committed by GitHub
parent 7a551081ee
commit 5f531ac9b0
11 changed files with 392 additions and 2 deletions

View File

@@ -18,10 +18,35 @@ light:
- platform: neopixelbus
type: GRB
variant: WS2812
pin: 33
pin: GPIO38
num_leds: 1
id: neopixel
method: esp32_rmt
name: neopixel-enable
internal: false
restore_mode: ALWAYS_OFF
spi:
clk_pin: GPIO7
mosi_pin: GPIO6
display:
- platform: ili9xxx
model: ili9342
cs_pin: GPIO5
dc_pin: GPIO4
reset_pin: GPIO48
i2c:
scl: GPIO18
sda: GPIO8
touchscreen:
- platform: tt21100
interrupt_pin: GPIO3
reset_pin: GPIO48
binary_sensor:
- platform: tt21100
name: Home Button
index: 1