ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
epaper_spi_ssd1677.h
Go to the documentation of this file.
1#pragma once
2
3#include "epaper_spi_mono.h"
4
5namespace esphome::epaper_spi {
6
23class EPaperSSD1677 : public EPaperMono {
24 public:
25 EPaperSSD1677(const char *name, uint16_t width, uint16_t height, const uint8_t *init_sequence,
26 size_t init_sequence_length, DisplayType display_type = DISPLAY_TYPE_BINARY, uint8_t bits_per_pixel = 1)
27 : EPaperMono(name, width, height, init_sequence, init_sequence_length, display_type, bits_per_pixel) {}
28
29 protected:
30 // Reads the previous frame to copy it into the other RAM bank on a full refresh
31 bool needs_previous_frame() const override { return true; }
32 bool reset() override;
33 bool transfer_data() override;
34
35 uint8_t plane_{0}; // 0 while sending 0x26, 1 while sending 0x24
36};
37
38} // namespace esphome::epaper_spi
A class for monochrome epaper displays.
Monochrome SSD1677 with partial refreshes that leave unchanged pixels alone.
bool needs_previous_frame() const override
EPaperSSD1677(const char *name, uint16_t width, uint16_t height, const uint8_t *init_sequence, size_t init_sequence_length, DisplayType display_type=DISPLAY_TYPE_BINARY, uint8_t bits_per_pixel=1)