mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 20:10:55 +00:00
fix: (Component WaveshareEPaper) Correct pin number
This commit is contained in:
parent
62226f2987
commit
19be9744b1
@ -123,19 +123,18 @@ display:
|
|||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
- platform: waveshare_epaper
|
- platform: waveshare_epaper
|
||||||
model: 4.20in-bv2-bwr
|
model: 4.20in-bv2-bwr
|
||||||
spi_id: spi_id_1
|
|
||||||
cs_pin:
|
cs_pin:
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
number: GPIO25
|
number: 4
|
||||||
dc_pin:
|
dc_pin:
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
number: GPIO26
|
number: 4
|
||||||
busy_pin:
|
busy_pin:
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
number: GPIO27
|
number: 4
|
||||||
reset_pin:
|
reset_pin:
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
number: GPIO32
|
number: 4
|
||||||
lambda: |-
|
lambda: |-
|
||||||
auto const red = Color(255, 0, 0);
|
auto const red = Color(255, 0, 0);
|
||||||
it.filled_rectangle( 0, 0, it.get_width() / 2, it.get_height(), COLOR_ON);
|
it.filled_rectangle( 0, 0, it.get_width() / 2, it.get_height(), COLOR_ON);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user