mirror of
https://github.com/esphome/esphome.git
synced 2024-12-20 16:18:49 +01:00
25 lines
422 B
YAML
25 lines
422 B
YAML
spi:
|
|
- id: spi_main_lcd
|
|
clk_pin: 6
|
|
mosi_pin: 7
|
|
miso_pin: 5
|
|
|
|
display:
|
|
- platform: ili9xxx
|
|
id: main_lcd
|
|
model: ili9342
|
|
cs_pin: 8
|
|
dc_pin: 9
|
|
reset_pin: 10
|
|
invert_colors: false
|
|
|
|
# Purposely test that `animation:` does auto-load `image:`
|
|
# Keep the `image:` undefined.
|
|
# image:
|
|
|
|
animation:
|
|
- id: rgb565_animation
|
|
file: ../../pnglogo.png
|
|
type: RGB565
|
|
use_transparency: false
|