ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
epaper_spi_ssd1681.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace esphome::epaper_spi {
6
7// Partial refreshes compare RAM 0x24 (new image) with RAM 0x26 (image on the panel) and drive only changed pixels.
9 public:
10 EPaperSSD1681(const char *name, uint16_t width, uint16_t height, const uint8_t *init_sequence,
11 size_t init_sequence_length)
12 : EPaperSSD1683(name, width, height, init_sequence, init_sequence_length) {
13 // 0x12 puts the display option register back to its default, dropping the settings the panel's OTP loads into it
14 this->software_reset_ = false;
15 }
16
17 protected:
18 // Writes the previous frame to 0x26 before a partial refresh
19 bool needs_previous_frame() const override { return true; }
20 // Sends the frame last sent to 0x26, in chunks; false until it is all sent
22 bool transfer_data() override;
23 void refresh_screen(bool partial) override;
24};
25
26} // namespace esphome::epaper_spi
void refresh_screen(bool partial) override
bool needs_previous_frame() const override
EPaperSSD1681(const char *name, uint16_t width, uint16_t height, const uint8_t *init_sequence, size_t init_sequence_length)
A class for Solomon SSD1683 epaper displays.