I’m using an EN05 ePaper board (with the nRF52840)
I’ve installed the GFX library (today!) and the HelloWorld example compiles when opened.
Once I add the driver.h file and fill it with this:
#define BOARD_SCREEN_COMBO 508 // 2.13 inch monochrome ePaper Screen (SSD1680)
#define USE_XIAO_EPAPER_DISPLAY_BOARD_EN05
compilation fails with stuff like this
In file included from h:\Sketches\libraries\Seeed_GFX/User_Setups/Setup508_Seeed_XIAO_EPaper_2inch13.h:21,
from h:\Sketches\libraries\Seeed_GFX/User_Setups/Dynamic_Setup.h:301,
from h:\Sketches\libraries\Seeed_GFX/User_Setup_Select.h:13,
from h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.h:69,
from h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.cpp:16:
h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.cpp: In member function 'void TFT_eSPI::initBus()':
h:\Sketches\libraries\Seeed_GFX/User_Setups/EPaper_Board_Pins_Setups.h:69:16: error: 'D16' was not declared in this scope; did you mean 'D10'?
69 | #define TFT_DC D16 // D16
| ^~~
h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.cpp:576:7: note: in expansion of macro 'TFT_DC'
576 | if (TFT_DC >= 0) {
| ^~~~~~
h:\Sketches\libraries\Seeed_GFX/User_Setups/EPaper_Board_Pins_Setups.h:71:17: error: 'D11' was not declared in this scope; did you mean 'D10'?
71 | #define TFT_RST D11 // D11
| ^~~
h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.cpp:583:7: note: in expansion of macro 'TFT_RST'
583 | if (TFT_RST >= 0) {
| ^~~~~~~
In file included from h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.h:30,
from h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.cpp:16:
h:\Sketches\libraries\Seeed_GFX\TFT_eSPI.cpp: In member function 'void TFT_eSPI::initFromSleep(uint8_t)':
h:\Sketches\libraries\Seeed_GFX/User_Setups/EPaper_Board_Pins_Setups.h:69:16: error: 'D16' was not declared in this scope; did you mean 'D10'?
I’ve selected the nRF52840 Sense as per the instructions
Any ideas?
