ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
epaper_waveshare_bwr.cpp
Go to the documentation of this file.
2
3namespace esphome::epaper_spi {
4
6 this->command(0x04); // POWER ON
7}
8
9void EPaperWaveshareBWR::refresh_screen(bool /*partial*/) {
10 this->command(0x12); // DISPLAY REFRESH
11}
12
14 this->command(0x02); // POWER OFF
15}
16
18 this->cmd_data(0x07, {0xA5}); // DEEP SLEEP with check code
19}
20
21} // namespace esphome::epaper_spi
void command(uint8_t value)
void cmd_data(uint8_t command, const uint8_t *ptr, size_t length)