Problems with the waveshare epaper and ESP8266

Hi all, I'm relatively new to this forum in regards to postings but have always appreciated the solutions I have found by searching.

Unfortunately there was no appropriate answer this time and I'm not sure wether I should post this here or over at the "other microcontrollers" sub forum.

Anyway, I have been using Arduinos for quite some time now, but recently wanted to try out the epaper displays by waveshare, because of the limited RAM on Arduinos decided to try out the NodeMCU.

However I was no able to get the display to show anything with my test programm, even though the examples from the library are working great. I even have only copied parts of the example, but it still doesn't show anything. Maybe one of you can help me with something I may have missed?

I'm using the 2.13" version of the epaper, code is below

#include <GxEPD.h>
#include <GxGDE0213B1\GxGDE0213B1.cpp>
#include <GxGDE0213B1\BitmapExamples.h>

#include <GxIO\GxIO_SPI\GxIO_SPI.cpp>
#include <GxIO\GxIO.cpp>

#include <Fonts\FreeMonoBold9pt7b.h>

GxIO_Class io(SPI, /*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2);
GxEPD_Class display(io /*RST=D4*/ /*BUSY=D2*/);

void setup() {

Serial.begin(115200);
Serial.println("Setup");

display.init(115200);


}

void loop() {

  showFontCallback();
  delay(2000);

}

void showFontCallback()
{
  const char* name = "FreeMonoBold9pt7b";
  const GFXfont* f = &FreeMonoBold9pt7b;
  display.fillScreen(GxEPD_WHITE);
  display.setTextColor(GxEPD_BLACK);
  display.setFont(f);
  display.setCursor(0, 0);
  display.println();
  display.println(name);
  display.println(" !\"#$%&'()*+,-./");
  display.println("0123456789:;<=>?");
  display.println("@ABCDEFGHIJKLMNO");
  display.println("PQRSTUVWXYZ[\\]^_");
  display.println("`abcdefghijklmno");
  display.println("pqrstuvwxyz{|}~ ");
}

P.S. there are no compiler errors, the upload works and as I said, with the library examples it is smooth sailing

itwasntme967:
Unfortunately there was no appropriate answer this time and I'm not sure wether I should post this here or over at the "other microcontrollers" sub forum.

The Displays section would have been a better choice. There's an epaper expert or two there. Suggest you ask the mods to move this. Use the report to mod link.

@itwasntme967

please post a link to the actual e-paper display you have.

Then post diagnostic output from Serial Monitor. And the wiring chosen.

Jean-Marc

Added: now I see the issue:

You took the callback function from the AVR version.
If this method is used with drawPaged(), then update to screen is done in drawPaged().

You just need to call display.update() at the end, when using it standalone.

@ZinggJM

Thank you so very much, I added the display.update() and now it works like a charm