I cannot manage to Display something else than noise on my "waveshare e-paper 2,9" b/w/r Display", I am using a "Doit ESP32 Devkit V1".
So as I said all it displays on the screen is noise, it also create red pixels but theres no "red" in the code..
I'm stuck for weeks now, can anyone help me Display a HelloWorld ??
int16_t tbx, tby; uint16_t tbw, tbh;
display.getTextBounds(HelloWorld, 0, 0, &tbx, &tby, &tbw, &tbh);
uint16_t x = (display.width() - tbw) / 2;
uint16_t y = (display.height() + tbh) / 2; // y is base line!
display.setFullWindow();
display.firstPage();
do
{
//Those 3 lines does nothing, without them the noise is still generated on the display
display.fillScreen(GxEPD_WHITE);
display.setCursor(x, y);
display.print(HelloWorld);
}
while (display.nextPage());
}