mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user