3 Commits
Author SHA1 Message Date
Marc Poulhiès e5cc087933 Add 2in13 V2 to the list of supported screens
Add 2in13 V2 as supported and tested device.
2020-10-05 22:43:37 +02:00
Marc Poulhiès 27e367c89c Initial support for Waveshare 2in13 v2 e-ink screen
This initial support covers both the full (slow) update of the display and the
partial (fast) update.
2020-10-05 20:48:02 +02:00
Marc Poulhiès 82b8c98538 Better handling for screen size not divisible by 8
Screen with width not divisible by 8 require special care when allocating the
buffer and when handling rotation.

Define a function for getting the needed buffer size (round up to next byte).
Change how rotation is done by changing coordinates instead of direct pixel
access.
2020-09-27 19:13:35 +02:00