[epaper_spi] Add Waveshare 2.66" e-Paper Module (B) support (#20546)

This commit is contained in:
Felipe Guedes
2026-10-13 15:03:05 -10:00
committed by GitHub
parent 52a5e6a007
commit f505212e64
2 changed files with 29 additions and 0 deletions
@@ -24,3 +24,11 @@ WaveshareB(
data_rate="10MHz",
minimum_update_interval="1s",
)
WaveshareB(
"waveshare-2.66in-b",
width=152,
height=296,
data_rate="10MHz",
minimum_update_interval="15s",
)
@@ -234,6 +234,27 @@ display:
it.circle(it.get_width() / 2, it.get_height() / 2, 20, Color::BLACK);
it.circle(it.get_width() / 2, it.get_height() / 2, 15, Color(255, 0, 0));
# Waveshare 2.66" B 3-color e-paper (152x296, BWR, SSD1680)
- platform: epaper_spi
spi_id: spi_bus
model: waveshare-2.66in-b
cs_pin:
allow_other_uses: true
number: GPIO5
dc_pin:
allow_other_uses: true
number: GPIO17
reset_pin:
allow_other_uses: true
number: GPIO16
busy_pin:
allow_other_uses: true
number: GPIO4
lambda: |-
it.filled_rectangle(0, 0, it.get_width(), it.get_height(), Color::WHITE);
it.circle(it.get_width() / 2, it.get_height() / 2, 20, Color::BLACK);
it.circle(it.get_width() / 2, it.get_height() / 2, 15, Color(255, 0, 0));
# Good Display GDEY0213F51 4-color e-paper (128x250, BWYR, JD79661)
- platform: epaper_spi
spi_id: spi_bus