mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 15:04:54 +01:00
20 lines
333 B
YAML
20 lines
333 B
YAML
|
<<: !include common.yaml
|
||
|
|
||
|
spi:
|
||
|
- id: spi_main_lcd
|
||
|
clk_pin: 18
|
||
|
mosi_pin: 19
|
||
|
miso_pin: 16
|
||
|
|
||
|
display:
|
||
|
- platform: ili9xxx
|
||
|
id: main_lcd
|
||
|
model: ili9342
|
||
|
cs_pin: 20
|
||
|
dc_pin: 17
|
||
|
reset_pin: 21
|
||
|
invert_colors: true
|
||
|
lambda: |-
|
||
|
it.fill(Color(0, 0, 0));
|
||
|
it.image(0, 0, id(online_rgba_image));
|