esphome/tests/components/st7701s/common.yaml

66 lines
969 B
YAML
Raw Normal View History

psram:
mode: octal
speed: 80MHz
spi:
- id: lcd_spi
clk_pin: 41
mosi_pin: 48
i2c:
sda: 39
scl: 40
scan: false
id: bus_a
pca9554:
- id: p_c_a
pin_count: 16
address: 0x20
display:
- platform: st7701s
spi_mode: MODE3
color_order: RGB
dimensions:
width: 480
height: 480
invert_colors: true
transform:
mirror_x: true
mirror_y: true
cs_pin:
pca9554: p_c_a
number: 4
reset_pin:
pca9554: p_c_a
number: 5
de_pin: 18
hsync_pin: 16
vsync_pin: 17
pclk_pin: 21
init_sequence:
- 1
- [0x23, 0xA, 0xB]
- delay 20ms
- [0x23, 0xA, 0xB]
- delay 0.2s
data_pins:
- number: 0
ignore_strapping_warning: true
- 1
- 2
- 3
- number: 4
ignore_strapping_warning: false
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15