mirror of
https://github.com/esphome/esphome.git
synced 2024-11-15 03:28:12 +01:00
254522dd93
Co-authored-by: clydeps <U5yx99dok9>
44 lines
756 B
YAML
44 lines
756 B
YAML
spi:
|
|
id: quad_spi
|
|
clk_pin: 15
|
|
type: quad
|
|
data_pins: [14, 10, 16, 12]
|
|
|
|
display:
|
|
- platform: qspi_dbi
|
|
model: RM690B0
|
|
data_rate: 80MHz
|
|
spi_mode: mode0
|
|
dimensions:
|
|
width: 450
|
|
height: 600
|
|
offset_width: 16
|
|
color_order: rgb
|
|
invert_colors: false
|
|
brightness: 255
|
|
cs_pin: 11
|
|
reset_pin: 13
|
|
enable_pin: 9
|
|
|
|
- platform: qspi_dbi
|
|
model: CUSTOM
|
|
id: main_lcd
|
|
draw_from_origin: true
|
|
dimensions:
|
|
height: 240
|
|
width: 536
|
|
transform:
|
|
mirror_x: true
|
|
swap_xy: true
|
|
color_order: rgb
|
|
brightness: 255
|
|
cs_pin: 6
|
|
reset_pin: 17
|
|
enable_pin: 38
|
|
init_sequence:
|
|
- [0x3A, 0x66]
|
|
- [0x11]
|
|
- delay 120ms
|
|
- [0x29]
|
|
- delay 20ms
|
|
|