mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
26 lines
413 B
YAML
26 lines
413 B
YAML
spi:
|
|
- id: spi_main_lcd
|
|
clk_pin: 14
|
|
mosi_pin: 13
|
|
miso_pin: 12
|
|
|
|
display:
|
|
- platform: ili9xxx
|
|
id: main_lcd
|
|
model: ili9342
|
|
cs_pin: 5
|
|
dc_pin: 15
|
|
reset_pin: 16
|
|
invert_colors: true
|
|
|
|
image:
|
|
defaults:
|
|
type: rgb565
|
|
transparency: opaque
|
|
byte_order: little_endian
|
|
resize: 50x50
|
|
dither: FloydSteinberg
|
|
images:
|
|
- id: test_image
|
|
file: ../../pnglogo.png
|