16 EPaper4bpp(
const char *name, uint16_t width, uint16_t height,
const uint8_t *init_sequence,
17 size_t init_sequence_length)
23 void clear()
override;
Intermediate base for panels with a 4-bit-per-pixel native buffer layout (2 pixels per byte).
void draw_pixel_at(int x, int y, Color color) override
virtual uint8_t color_to_native(Color color)=0
Map an RGB color to this panel's native 4-bit color key (low nibble).
void fill(Color color) override
static constexpr uint8_t CMD_TRANSFER_DATA
EPaper4bpp(const char *name, uint16_t width, uint16_t height, const uint8_t *init_sequence, size_t init_sequence_length)
bool transfer_data() override