GxEPD2
New Simplified Version of GxEPD for Arduino
for SPI e-paper displays from Dalian Good Display
and SPI e-paper boards from Waveshare
important note :
- these displays are for 3.3V supply and 3.3V data lines.
- never connect data lines directly to 5V data pins.
Paged Drawing, Picture Loop
- This library uses paged drawing to limit RAM use and cope with missing single pixel update support
- buffer size can be selected in the application by template parameter page_height, see GxEPD2_Example
- Paged drawing is implemented as picture loop, like in U8G2 (Oliver Kraus)
- Paged drawing is also available using drawPaged() and drawCallback(), like in GxEPD
- // GxEPD style paged drawing; drawCallback() is called as many times as needed
- void drawPaged(void (drawCallback)(const void), const void* pv)
- paged drawing is done using Adafruit_GFX methods inside picture loop or drawCallback
Full Screen Buffer Support
- full screen buffer is selected by setting template parameter page_height to display height
- drawing to full screen buffer is done using Adafruit_GFX methods without picture loop or drawCallback
- and then calling method display()
Low Level Bitmap Drawing Support
- bitmap drawing support to the controller memory and screen is available:
- either through the template class instance methods that forward calls to the base display class
- or directy using an instance of a base display class and calling its methods directly
Supporting Arduino Forum Topics:
Version 1.0.0
- preliminary version, under construction