GxEPD2 & Good display GDEY0213B74

Looks like it works!

When using the RP2040 ThinkInk from earlephilhower, the symbol ARDUINO_ADAFRUIT_FEATHER_RP2040_THINKINK was not defined (I got the display undefined error). So I moved the display definition outside any conditional and changed the GxEPD2_Example to use SPI1 and I got this (and the other examples) :

I haven't thoroughly tested yet, bot looks like this issue is now resolved.

To sum it up, for future hackers facing the same issue:

  • Use earlephilhower RP2040 ThinkInk board (see the package.json link and the doc in my first posts)
  • Using the GxEPD2_Example sketch
    • Uncomment #define GxEPD2_DRIVER_CLASS GxEPD2_213_B74 // GDEM0213B74 122x250, SSD1680, FPC-7528B) in _new_style.h
    • Put GxEPD2_DISPLAY_CLASS<GxEPD2_DRIVER_CLASS, MAX_HEIGHT(GxEPD2_DRIVER_CLASS)> display(GxEPD2_DRIVER_CLASS(/*CS=*/ PIN_EPD_CS, /*DC=*/ PIN_EPD_DC, /*RST=*/ PIN_EPD_RESET, /*BUSY=*/ PIN_EPD_BUSY)); right above (so outside of all if macros) #undef MAX_DISPLAY_BUFFER_SIZE in the same file. You can hunt for the symbol to put inside a IF if you're brave
    • In the main .ino file, add display.epd2.selectSPI(SPI1, SPISettings(4000000, MSBFIRST, SPI_MODE0)); above display.init(115200);

Many, many, many thanks for your support and your patience, I learnt a lot in the process!