E_paper, E_ink, Screen size 1.54", resolution 200x200, 4 wire spi, Waveshare, Black and White, Kl25Z, 8 wire print connector, supply 3.3 Volt, IL0373 Controller, font size is 8, 12, 16 and 24.
Diff: epdpaint.cpp
- Revision:
- 3:e4399b5ceb4b
- Parent:
- 1:d27a7e06c233
--- a/epdpaint.cpp Tue Mar 27 17:36:34 2018 +0000 +++ b/epdpaint.cpp Tue Mar 27 17:59:56 2018 +0000 @@ -148,7 +148,8 @@ for (j = 0; j < font->Height; j++) { for (i = 0; i < font->Width; i++) { - if (pgm_read_byte(ptr) & (0x80 >> (i % 8))) { + //if (pgm_read_byte(ptr) & (0x80 >> (i % 8))) { + if (*(ptr) & (0x80 >> (i % 8))) { DrawPixel(x + i, y + j, colored); } if (i % 8 == 7) {