Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
Loading...
Searching...
No Matches
GxEPD2_290c Class Reference

#include <GxEPD2_290c.h>

Inheritance diagram for GxEPD2_290c:
GxEPD2_EPD

Public Member Functions

 GxEPD2_290c (int16_t cs, int16_t dc, int16_t rst, int16_t busy)
 
void clearScreen (uint8_t value=0xFF)
 
void clearScreen (uint8_t black_value, uint8_t color_value)
 
void writeScreenBuffer (uint8_t value=0xFF)
 
void writeScreenBuffer (uint8_t black_value, uint8_t color_value)
 
void writeImage (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void writeImagePart (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void writeImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void writeImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void writeNative (const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void drawImage (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void drawImagePart (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void drawImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void drawImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void drawNative (const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
void refresh (bool partial_update_mode=false)
 
void refresh (int16_t x, int16_t y, int16_t w, int16_t h)
 
void powerOff ()
 
void hibernate ()
 
- Public Member Functions inherited from GxEPD2_EPD
 GxEPD2_EPD (int16_t cs, int16_t dc, int16_t rst, int16_t busy, int16_t busy_level, uint32_t busy_timeout, uint16_t w, uint16_t h, GxEPD2::Panel p, bool c, bool pu, bool fpu)
 
virtual void init (uint32_t serial_diag_bitrate=0)
 
virtual void init (uint32_t serial_diag_bitrate, bool initial, uint16_t reset_duration=10, bool pulldown_rst_mode=false)
 
virtual void writeImageForFullRefresh (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
virtual void writeScreenBufferAgain (uint8_t value=0xFF)
 
virtual void writeImageAgain (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
virtual void writeImagePartAgain (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
 
virtual void setPaged ()
 
void setBusyCallback (void(*busyCallback)(const void *), const void *busy_callback_parameter=0)
 
void selectSPI (SPIClass &spi, SPISettings spi_settings)
 

Static Public Attributes

static const uint16_t WIDTH = 128
 
static const uint16_t WIDTH_VISIBLE = WIDTH
 
static const uint16_t HEIGHT = 296
 
static const GxEPD2::Panel panel = GxEPD2::GDEW029Z10
 
static const bool hasColor = true
 
static const bool hasPartialUpdate = true
 
static const bool usePartialUpdateWindow = true
 
static const bool hasFastPartialUpdate = false
 
static const uint16_t power_on_time = 40
 
static const uint16_t power_off_time = 30
 
static const uint16_t full_refresh_time = 15000
 
static const uint16_t partial_refresh_time = 15000
 

Additional Inherited Members

- Static Public Member Functions inherited from GxEPD2_EPD
static uint16_t gx_uint16_min (uint16_t a, uint16_t b)
 
static uint16_t gx_uint16_max (uint16_t a, uint16_t b)
 
- Public Attributes inherited from GxEPD2_EPD
const uint16_t WIDTH
 
const uint16_t HEIGHT
 
const GxEPD2::Panel panel
 
const bool hasColor
 
const bool hasPartialUpdate
 
const bool hasFastPartialUpdate
 
- Protected Member Functions inherited from GxEPD2_EPD
void _reset ()
 
void _waitWhileBusy (const char *comment=0, uint16_t busy_time=5000)
 
void _writeCommand (uint8_t c)
 
void _writeData (uint8_t d)
 
void _writeData (const uint8_t *data, uint16_t n)
 
void _writeDataPGM (const uint8_t *data, uint16_t n, int16_t fill_with_zeroes=0)
 
void _writeDataPGM_sCS (const uint8_t *data, uint16_t n, int16_t fill_with_zeroes=0)
 
void _writeCommandData (const uint8_t *pCommandData, uint8_t datalen)
 
void _writeCommandDataPGM (const uint8_t *pCommandData, uint8_t datalen)
 
void _startTransfer ()
 
void _transfer (uint8_t value)
 
void _endTransfer ()
 
- Protected Attributes inherited from GxEPD2_EPD
int16_t _cs
 
int16_t _dc
 
int16_t _rst
 
int16_t _busy
 
int16_t _busy_level
 
uint32_t _busy_timeout
 
bool _diag_enabled
 
bool _pulldown_rst_mode
 
SPIClass * _pSPIx
 
SPISettings _spi_settings
 
bool _initial_write
 
bool _initial_refresh
 
bool _power_is_on
 
bool _using_partial_mode
 
bool _hibernating
 
uint16_t _reset_duration
 
void(* _busy_callback )(const void *)
 
const void * _busy_callback_parameter
 

Detailed Description

Definition at line 18 of file GxEPD2_290c.h.

Constructor & Destructor Documentation

◆ GxEPD2_290c()

GxEPD2_290c::GxEPD2_290c ( int16_t cs,
int16_t dc,
int16_t rst,
int16_t busy )

Definition at line 15 of file GxEPD2_290c.cpp.

15 :
16 GxEPD2_EPD(cs, dc, rst, busy, LOW, 20000000, WIDTH, HEIGHT, panel, hasColor, hasPartialUpdate, hasFastPartialUpdate)
17{
18}
static const uint16_t HEIGHT
Definition GxEPD2_290c.h:24
static const GxEPD2::Panel panel
Definition GxEPD2_290c.h:25
static const uint16_t WIDTH
Definition GxEPD2_290c.h:22
static const bool hasFastPartialUpdate
Definition GxEPD2_290c.h:29
static const bool hasPartialUpdate
Definition GxEPD2_290c.h:27
static const bool hasColor
Definition GxEPD2_290c.h:26
GxEPD2_EPD(int16_t cs, int16_t dc, int16_t rst, int16_t busy, int16_t busy_level, uint32_t busy_timeout, uint16_t w, uint16_t h, GxEPD2::Panel p, bool c, bool pu, bool fpu)

Member Function Documentation

◆ clearScreen() [1/2]

void GxEPD2_290c::clearScreen ( uint8_t black_value,
uint8_t color_value )

Definition at line 25 of file GxEPD2_290c.cpp.

26{
27 _initial_write = false; // initial full screen buffer clean done
28 _Init_Part();
29 _writeCommand(0x91); // partial in
30 _setPartialRamArea(0, 0, WIDTH, HEIGHT);
31 _writeCommand(0x10);
32 for (uint32_t i = 0; i < uint32_t(WIDTH) * uint32_t(HEIGHT) / 8; i++)
33 {
34 _writeData(black_value);
35 }
36 _writeCommand(0x13);
37 for (uint32_t i = 0; i < uint32_t(WIDTH) * uint32_t(HEIGHT) / 8; i++)
38 {
39 _writeData(color_value);
40 }
41 _Update_Part();
42 _writeCommand(0x92); // partial out
43}
void _writeCommand(uint8_t c)
void _writeData(uint8_t d)
bool _initial_write
Definition GxEPD2_EPD.h:117

◆ clearScreen() [2/2]

void GxEPD2_290c::clearScreen ( uint8_t value = 0xFF)
virtual

Implements GxEPD2_EPD.

Definition at line 20 of file GxEPD2_290c.cpp.

21{
22 clearScreen(value, 0xFF);
23}
void clearScreen(uint8_t value=0xFF)

◆ drawImage() [1/2]

void GxEPD2_290c::drawImage ( const uint8_t * black,
const uint8_t * color,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 259 of file GxEPD2_290c.cpp.

260{
261 writeImage(black, color, x, y, w, h, invert, mirror_y, pgm);
262 refresh(x, y, w, h);
263}
void writeImage(const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)
void refresh(bool partial_update_mode=false)

◆ drawImage() [2/2]

void GxEPD2_290c::drawImage ( const uint8_t bitmap[],
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 246 of file GxEPD2_290c.cpp.

247{
248 writeImage(bitmap, x, y, w, h, invert, mirror_y, pgm);
249 refresh(x, y, w, h);
250}

◆ drawImagePart() [1/2]

void GxEPD2_290c::drawImagePart ( const uint8_t * black,
const uint8_t * color,
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 265 of file GxEPD2_290c.cpp.

267{
268 writeImagePart(black, color, x_part, y_part, w_bitmap, h_bitmap, x, y, w, h, invert, mirror_y, pgm);
269 refresh(x, y, w, h);
270}
void writeImagePart(const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)

◆ drawImagePart() [2/2]

void GxEPD2_290c::drawImagePart ( const uint8_t bitmap[],
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 252 of file GxEPD2_290c.cpp.

254{
255 writeImagePart(bitmap, x_part, y_part, w_bitmap, h_bitmap, x, y, w, h, invert, mirror_y, pgm);
256 refresh(x, y, w, h);
257}

◆ drawNative()

void GxEPD2_290c::drawNative ( const uint8_t * data1,
const uint8_t * data2,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 272 of file GxEPD2_290c.cpp.

273{
274 writeNative(data1, data2, x, y, w, h, invert, mirror_y, pgm);
275 refresh(x, y, w, h);
276}
void writeNative(const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)

◆ hibernate()

void GxEPD2_290c::hibernate ( )
virtual

Implements GxEPD2_EPD.

Definition at line 310 of file GxEPD2_290c.cpp.

311{
312 _PowerOff();
313 if (_rst >= 0)
314 {
315 _writeCommand(0x07); // deep sleep
316 _writeData(0xA5); // check code
317 _hibernating = true;
318 }
319}
int16_t _rst
Definition GxEPD2_EPD.h:112
bool _hibernating
Definition GxEPD2_EPD.h:118

◆ powerOff()

void GxEPD2_290c::powerOff ( void )
virtual

Implements GxEPD2_EPD.

Definition at line 305 of file GxEPD2_290c.cpp.

306{
307 _PowerOff();
308}

◆ refresh() [1/2]

void GxEPD2_290c::refresh ( bool partial_update_mode = false)
virtual

Implements GxEPD2_EPD.

Definition at line 278 of file GxEPD2_290c.cpp.

279{
280 if (partial_update_mode) refresh(0, 0, WIDTH, HEIGHT);
281 else _Update_Full();
282}

◆ refresh() [2/2]

void GxEPD2_290c::refresh ( int16_t x,
int16_t y,
int16_t w,
int16_t h )
virtual

Implements GxEPD2_EPD.

Definition at line 284 of file GxEPD2_290c.cpp.

285{
286 // intersection with screen
287 int16_t w1 = x < 0 ? w + x : w; // reduce
288 int16_t h1 = y < 0 ? h + y : h; // reduce
289 int16_t x1 = x < 0 ? 0 : x; // limit
290 int16_t y1 = y < 0 ? 0 : y; // limit
291 w1 = x1 + w1 < int16_t(WIDTH) ? w1 : int16_t(WIDTH) - x1; // limit
292 h1 = y1 + h1 < int16_t(HEIGHT) ? h1 : int16_t(HEIGHT) - y1; // limit
293 if ((w1 <= 0) || (h1 <= 0)) return;
294 // make x1, w1 multiple of 8
295 w1 += x1 % 8;
296 if (w1 % 8 > 0) w1 += 8 - w1 % 8;
297 x1 -= x1 % 8;
298 _Init_Part();
299 if (usePartialUpdateWindow) _writeCommand(0x91); // partial in
300 _setPartialRamArea(x1, y1, w1, h1);
301 _Update_Part();
302 if (usePartialUpdateWindow) _writeCommand(0x92); // partial out
303}
static const bool usePartialUpdateWindow
Definition GxEPD2_290c.h:28

◆ writeImage() [1/2]

void GxEPD2_290c::writeImage ( const uint8_t * black,
const uint8_t * color,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 74 of file GxEPD2_290c.cpp.

75{
76 if (_initial_write) writeScreenBuffer(); // initial full screen buffer clean
77 delay(1); // yield() to avoid WDT on ESP8266 and ESP32
78 int16_t wb = (w + 7) / 8; // width bytes, bitmaps are padded
79 x -= x % 8; // byte boundary
80 w = wb * 8; // byte boundary
81 int16_t x1 = x < 0 ? 0 : x; // limit
82 int16_t y1 = y < 0 ? 0 : y; // limit
83 int16_t w1 = x + w < int16_t(WIDTH) ? w : int16_t(WIDTH) - x; // limit
84 int16_t h1 = y + h < int16_t(HEIGHT) ? h : int16_t(HEIGHT) - y; // limit
85 int16_t dx = x1 - x;
86 int16_t dy = y1 - y;
87 w1 -= dx;
88 h1 -= dy;
89 if ((w1 <= 0) || (h1 <= 0)) return;
90 _Init_Part();
91 _writeCommand(0x91); // partial in
92 _setPartialRamArea(x1, y1, w1, h1);
93 _writeCommand(0x10);
94 for (int16_t i = 0; i < h1; i++)
95 {
96 for (int16_t j = 0; j < w1 / 8; j++)
97 {
98 uint8_t data = 0xFF;
99 if (black)
100 {
101 // use wb, h of bitmap for index!
102 int16_t idx = mirror_y ? j + dx / 8 + ((h - 1 - (i + dy))) * wb : j + dx / 8 + (i + dy) * wb;
103 if (pgm)
104 {
105#if defined(__AVR) || defined(ESP8266) || defined(ESP32)
106 data = pgm_read_byte(&black[idx]);
107#else
108 data = black[idx];
109#endif
110 }
111 else
112 {
113 data = black[idx];
114 }
115 if (invert) data = ~data;
116 }
117 _writeData(data);
118 }
119 }
120 _writeCommand(0x13);
121 for (int16_t i = 0; i < h1; i++)
122 {
123 for (int16_t j = 0; j < w1 / 8; j++)
124 {
125 uint8_t data = 0xFF;
126 if (color)
127 {
128 // use wb, h of bitmap for index!
129 int16_t idx = mirror_y ? j + dx / 8 + ((h - 1 - (i + dy))) * wb : j + dx / 8 + (i + dy) * wb;
130 if (pgm)
131 {
132#if defined(__AVR) || defined(ESP8266) || defined(ESP32)
133 data = pgm_read_byte(&color[idx]);
134#else
135 data = color[idx];
136#endif
137 }
138 else
139 {
140 data = color[idx];
141 }
142 if (invert) data = ~data;
143 }
144 _writeData(data);
145 }
146 }
147 _writeCommand(0x92); // partial out
148 delay(1); // yield() to avoid WDT on ESP8266 and ESP32
149}
void writeScreenBuffer(uint8_t value=0xFF)

◆ writeImage() [2/2]

void GxEPD2_290c::writeImage ( const uint8_t bitmap[],
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
virtual

Implements GxEPD2_EPD.

Definition at line 69 of file GxEPD2_290c.cpp.

70{
71 writeImage(bitmap, NULL, x, y, w, h, invert, mirror_y, pgm);
72}

◆ writeImagePart() [1/2]

void GxEPD2_290c::writeImagePart ( const uint8_t * black,
const uint8_t * color,
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 157 of file GxEPD2_290c.cpp.

159{
160 if (_initial_write) writeScreenBuffer(); // initial full screen buffer clean
161 delay(1); // yield() to avoid WDT on ESP8266 and ESP32
162 if ((w_bitmap < 0) || (h_bitmap < 0) || (w < 0) || (h < 0)) return;
163 if ((x_part < 0) || (x_part >= w_bitmap)) return;
164 if ((y_part < 0) || (y_part >= h_bitmap)) return;
165 int16_t wb_bitmap = (w_bitmap + 7) / 8; // width bytes, bitmaps are padded
166 x_part -= x_part % 8; // byte boundary
167 w = w_bitmap - x_part < w ? w_bitmap - x_part : w; // limit
168 h = h_bitmap - y_part < h ? h_bitmap - y_part : h; // limit
169 x -= x % 8; // byte boundary
170 w = 8 * ((w + 7) / 8); // byte boundary, bitmaps are padded
171 int16_t x1 = x < 0 ? 0 : x; // limit
172 int16_t y1 = y < 0 ? 0 : y; // limit
173 int16_t w1 = x + w < int16_t(WIDTH) ? w : int16_t(WIDTH) - x; // limit
174 int16_t h1 = y + h < int16_t(HEIGHT) ? h : int16_t(HEIGHT) - y; // limit
175 int16_t dx = x1 - x;
176 int16_t dy = y1 - y;
177 w1 -= dx;
178 h1 -= dy;
179 if ((w1 <= 0) || (h1 <= 0)) return;
180 if (!_using_partial_mode) _Init_Part();
181 _writeCommand(0x91); // partial in
182 _setPartialRamArea(x1, y1, w1, h1);
183 _writeCommand(0x10);
184 for (int16_t i = 0; i < h1; i++)
185 {
186 for (int16_t j = 0; j < w1 / 8; j++)
187 {
188 uint8_t data;
189 // use wb_bitmap, h_bitmap of bitmap for index!
190 int16_t idx = mirror_y ? x_part / 8 + j + dx / 8 + ((h_bitmap - 1 - (y_part + i + dy))) * wb_bitmap : x_part / 8 + j + dx / 8 + (y_part + i + dy) * wb_bitmap;
191 if (pgm)
192 {
193#if defined(__AVR) || defined(ESP8266) || defined(ESP32)
194 data = pgm_read_byte(&black[idx]);
195#else
196 data = black[idx];
197#endif
198 }
199 else
200 {
201 data = black[idx];
202 }
203 if (invert) data = ~data;
204 _writeData(data);
205 }
206 }
207 _writeCommand(0x13);
208 for (int16_t i = 0; i < h1; i++)
209 {
210 for (int16_t j = 0; j < w1 / 8; j++)
211 {
212 uint8_t data = 0xFF;
213 if (color)
214 {
215 // use wb_bitmap, h_bitmap of bitmap for index!
216 int16_t idx = mirror_y ? x_part / 8 + j + dx / 8 + ((h_bitmap - 1 - (y_part + i + dy))) * wb_bitmap : x_part / 8 + j + dx / 8 + (y_part + i + dy) * wb_bitmap;
217 if (pgm)
218 {
219#if defined(__AVR) || defined(ESP8266) || defined(ESP32)
220 data = pgm_read_byte(&color[idx]);
221#else
222 data = color[idx];
223#endif
224 }
225 else
226 {
227 data = color[idx];
228 }
229 if (invert) data = ~data;
230 }
231 _writeData(data);
232 }
233 }
234 _writeCommand(0x92); // partial out
235 delay(1); // yield() to avoid WDT on ESP8266 and ESP32
236}
bool _using_partial_mode
Definition GxEPD2_EPD.h:118

◆ writeImagePart() [2/2]

void GxEPD2_290c::writeImagePart ( const uint8_t bitmap[],
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
virtual

Implements GxEPD2_EPD.

Definition at line 151 of file GxEPD2_290c.cpp.

153{
154 writeImagePart(bitmap, NULL, x_part, y_part, w_bitmap, h_bitmap, x, y, w, h, invert, mirror_y, pgm);
155}

◆ writeNative()

void GxEPD2_290c::writeNative ( const uint8_t * data1,
const uint8_t * data2,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )

Definition at line 238 of file GxEPD2_290c.cpp.

239{
240 if (data1)
241 {
242 writeImage(data1, x, y, w, h, invert, mirror_y, pgm);
243 }
244}

◆ writeScreenBuffer() [1/2]

void GxEPD2_290c::writeScreenBuffer ( uint8_t black_value,
uint8_t color_value )

Definition at line 50 of file GxEPD2_290c.cpp.

51{
52 _initial_write = false; // initial full screen buffer clean done
53 _Init_Part();
54 _writeCommand(0x91); // partial in
55 _setPartialRamArea(0, 0, WIDTH, HEIGHT);
56 _writeCommand(0x10);
57 for (uint32_t i = 0; i < uint32_t(WIDTH) * uint32_t(HEIGHT) / 8; i++)
58 {
59 _writeData(black_value);
60 }
61 _writeCommand(0x13);
62 for (uint32_t i = 0; i < uint32_t(WIDTH) * uint32_t(HEIGHT) / 8; i++)
63 {
64 _writeData(color_value);
65 }
66 _writeCommand(0x92); // partial out
67}

◆ writeScreenBuffer() [2/2]

void GxEPD2_290c::writeScreenBuffer ( uint8_t value = 0xFF)
virtual

Implements GxEPD2_EPD.

Definition at line 45 of file GxEPD2_290c.cpp.

46{
47 writeScreenBuffer(value, 0xFF);
48}

Member Data Documentation

◆ full_refresh_time

const uint16_t GxEPD2_290c::full_refresh_time = 15000
static

Definition at line 32 of file GxEPD2_290c.h.

◆ hasColor

const bool GxEPD2_290c::hasColor = true
static

Definition at line 26 of file GxEPD2_290c.h.

◆ hasFastPartialUpdate

const bool GxEPD2_290c::hasFastPartialUpdate = false
static

Definition at line 29 of file GxEPD2_290c.h.

◆ hasPartialUpdate

const bool GxEPD2_290c::hasPartialUpdate = true
static

Definition at line 27 of file GxEPD2_290c.h.

◆ HEIGHT

const uint16_t GxEPD2_290c::HEIGHT = 296
static

Definition at line 24 of file GxEPD2_290c.h.

◆ panel

const GxEPD2::Panel GxEPD2_290c::panel = GxEPD2::GDEW029Z10
static

Definition at line 25 of file GxEPD2_290c.h.

◆ partial_refresh_time

const uint16_t GxEPD2_290c::partial_refresh_time = 15000
static

Definition at line 33 of file GxEPD2_290c.h.

◆ power_off_time

const uint16_t GxEPD2_290c::power_off_time = 30
static

Definition at line 31 of file GxEPD2_290c.h.

◆ power_on_time

const uint16_t GxEPD2_290c::power_on_time = 40
static

Definition at line 30 of file GxEPD2_290c.h.

◆ usePartialUpdateWindow

const bool GxEPD2_290c::usePartialUpdateWindow = true
static

Definition at line 28 of file GxEPD2_290c.h.

◆ WIDTH

const uint16_t GxEPD2_290c::WIDTH = 128
static

Definition at line 22 of file GxEPD2_290c.h.

◆ WIDTH_VISIBLE

const uint16_t GxEPD2_290c::WIDTH_VISIBLE = WIDTH
static

Definition at line 23 of file GxEPD2_290c.h.


The documentation for this class was generated from the following files: