mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
23 lines
402 B
YAML
23 lines
402 B
YAML
spi:
|
|
- id: spi_main_lcd
|
|
clk_pin: 16
|
|
mosi_pin: 17
|
|
miso_pin: 15
|
|
|
|
display:
|
|
- platform: ili9xxx
|
|
id: main_lcd
|
|
model: ili9342
|
|
cs_pin: 12
|
|
dc_pin: 13
|
|
reset_pin: 21
|
|
|
|
# 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
|