GxEP2 lib ePaper Display - how to refresh the screen

I am using this type of lib for my ePaper GxEPD2/GxEPD2_HelloWorld.ino at master · ZinggJM/GxEPD2 · GitHub

I accomplished to choose the right library. I only want make a simple code which is displaying a short text, refresh the display every few minutes and display a new text

per example it could be (as a pseudocode)
for int x=0; i<10000, i++
display(x)
delay (1000);

I also didnt get what "display.nextPage()" is, for me it sounds like reading out the buffer and displaying it (or?)

i tried the following as the loop

int x=0;
void loop() {
  x=x+1;
  display.nextPage();
  display.fillScreen(GxEPD_WHITE);
  display.print(x);
  
  }

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.