mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 02:34:12 +01:00
24 lines
396 B
YAML
24 lines
396 B
YAML
|
spi:
|
||
|
- id: spi_main_lcd
|
||
|
clk_pin: 2
|
||
|
mosi_pin: 3
|
||
|
miso_pin: 4
|
||
|
|
||
|
display:
|
||
|
- platform: ili9xxx
|
||
|
id: main_lcd
|
||
|
model: ili9342
|
||
|
cs_pin: 20
|
||
|
dc_pin: 21
|
||
|
reset_pin: 22
|
||
|
|
||
|
# Purposely test that `animation:` does auto-load `image:`
|
||
|
# Keep the `image:` undefined.
|
||
|
# image:
|
||
|
|
||
|
animation:
|
||
|
- id: rgb565_animation
|
||
|
file: ../../pnglogo.png
|
||
|
type: RGB565
|
||
|
use_transparency: no
|