2024-05-07 21:33:37 +02:00
|
|
|
touchscreen:
|
|
|
|
- platform: cst816
|
|
|
|
id: my_touchscreen
|
|
|
|
interrupt_pin:
|
|
|
|
number: 21
|
|
|
|
reset_pin: GPIO16
|
2024-10-09 03:41:58 +02:00
|
|
|
skip_probe: false
|
2024-05-07 21:33:37 +02:00
|
|
|
transform:
|
|
|
|
mirror_x: false
|
|
|
|
mirror_y: false
|
|
|
|
swap_xy: false
|
|
|
|
|
|
|
|
i2c:
|
|
|
|
sda: 3
|
2024-10-09 03:41:58 +02:00
|
|
|
scl: 4
|
2024-05-07 21:33:37 +02:00
|
|
|
|
|
|
|
display:
|
|
|
|
- id: my_display
|
|
|
|
platform: ili9xxx
|
|
|
|
dimensions: 480x320
|
|
|
|
model: ST7796
|
2024-10-09 03:41:58 +02:00
|
|
|
cs_pin: 18
|
2024-05-07 21:33:37 +02:00
|
|
|
dc_pin: 20
|
|
|
|
reset_pin: 22
|
|
|
|
transform:
|
|
|
|
swap_xy: true
|
|
|
|
mirror_x: true
|
|
|
|
mirror_y: true
|
|
|
|
auto_clear_enabled: false
|
2024-08-30 01:20:01 +02:00
|
|
|
invert_colors: false
|
2024-05-07 21:33:37 +02:00
|
|
|
|
|
|
|
spi:
|
|
|
|
clk_pin: 14
|
|
|
|
mosi_pin: 13
|
|
|
|
|
|
|
|
binary_sensor:
|
|
|
|
- platform: cst816
|
|
|
|
name: Home Button
|