2025-02-04 17:05:08 -06:00
|
|
|
i2c:
|
|
|
|
- id: i2c_cst226
|
|
|
|
scl: ${scl_pin}
|
|
|
|
sda: ${sda_pin}
|
|
|
|
|
2024-05-07 14:33:37 -05:00
|
|
|
spi:
|
2025-02-04 17:05:08 -06:00
|
|
|
- id: spi_ili9xxx
|
|
|
|
clk_pin: ${clk_pin}
|
|
|
|
mosi_pin: ${mosi_pin}
|
2024-05-07 14:33:37 -05:00
|
|
|
|
|
|
|
display:
|
2025-02-04 17:05:08 -06:00
|
|
|
- id: my_display
|
|
|
|
platform: ili9xxx
|
2024-05-07 14:33:37 -05:00
|
|
|
model: ili9342
|
2025-02-04 17:05:08 -06:00
|
|
|
cs_pin: ${cs_pin}
|
|
|
|
dc_pin: ${dc_pin}
|
|
|
|
reset_pin: ${disp_reset_pin}
|
2024-08-30 09:20:01 +10:00
|
|
|
invert_colors: false
|
2024-05-07 14:33:37 -05:00
|
|
|
|
|
|
|
touchscreen:
|
2025-02-04 17:05:08 -06:00
|
|
|
- id: ts_cst226
|
|
|
|
platform: cst226
|
|
|
|
interrupt_pin: ${interrupt_pin}
|
|
|
|
reset_pin: ${reset_pin}
|
2024-05-07 14:33:37 -05:00
|
|
|
|