Solved - 2.7 inch ePaper (Embedded Artists) on Teensy - Adafruit_GFX
Dear all,
I am working on porting Brody Kenrick's great ePaper routines to run on Teensy.
On Arduino Pro Mini, his libraries (EPD.h, EPD.cpp, EPD_GFX.h, EPD_GFX.cpp) work well with the latest Adafruit_GFX library (5.July 2013).
https://github.com/adafruit/Adafruit-GFX-Library
https://github.com/brodykenrick/gratis
a) Compiling his example sketch "thermo_epd_gfx_ea_partial_screen" works for Arduino Pro Mini on Arduino IDE 1.0.5.
b) Trying to compile the example sketch "thermo_epd_gfx_ea_partial_screen" for Teensy3.1 returns errors (on Arduino IDE 1.0.5 with Teensyduino1.18, https://www.pjrc.com/teensy/td_download.html):
I was thinking about a similar post in this forum, which CMason was able to solve:
http://forum.pjrc.com/threads/10-Adafruit-PCD8544-LCD-library?p=87&viewfull=1#post87
So I added CMason's line, but it did not improve anything:
Would anyone have a good idea what I'm doing wrong here?
Any help appreciated.
Best regards,
Alf
Dear all,
I am working on porting Brody Kenrick's great ePaper routines to run on Teensy.
On Arduino Pro Mini, his libraries (EPD.h, EPD.cpp, EPD_GFX.h, EPD_GFX.cpp) work well with the latest Adafruit_GFX library (5.July 2013).
https://github.com/adafruit/Adafruit-GFX-Library
https://github.com/brodykenrick/gratis
a) Compiling his example sketch "thermo_epd_gfx_ea_partial_screen" works for Arduino Pro Mini on Arduino IDE 1.0.5.
b) Trying to compile the example sketch "thermo_epd_gfx_ea_partial_screen" for Teensy3.1 returns errors (on Arduino IDE 1.0.5 with Teensyduino1.18, https://www.pjrc.com/teensy/td_download.html):
Code:
thermo_epd_gfx_ea_partial_screen:157: error: cannot declare variable 'G_EPD' to be of abstract type 'EPD_GFX'
In file included from thermo_epd_gfx_ea_partial_screen.ino:80:0:
C:\Users\akuchenb\Alf\Arduino_105\libraries\EPD_GFX/EPD_GFX.h:56:7: note: because the following virtual functions are pure within 'EPD_GFX':
In file included from thermo_epd_gfx_ea_partial_screen.ino:49:0:
C:\Users\akuchenb\Alf\Arduino_105\libraries\Adafruit_GFX/Adafruit_GFX.h:20:16: note: virtual void Adafruit_GFX::drawPixel(int16_t, int16_t, uint16_t)
I was thinking about a similar post in this forum, which CMason was able to solve:
http://forum.pjrc.com/threads/10-Adafruit-PCD8544-LCD-library?p=87&viewfull=1#post87
So I added CMason's line, but it did not improve anything:
Code:
virtual ~Adafruit_GFX() {} // force inclusion of vtable.
Would anyone have a good idea what I'm doing wrong here?
Any help appreciated.
Best regards,
Alf
Last edited: