You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written an app on the coreink using M5GFX that displays data on the screen.
Sometimes if i press te powerbutton or wakeup from sleep the black pixels go briefly dark and display the same data a bit dimmer.
It seems the refresh process sometimes behaves oddly with some weird result.
Sometimes during the last step in the refresh process the contents of the display gets a bit dimmer. ( see picture)
I tried the 4 different edp modes but all with the same endresults (sometimes good sometimes dim)
What could be the problem?
Do i need to disable M5 eink when using M5GFX like this :
M5.begin(false , true , true);
or shouldnt it matter?
display.begin();
display.setEpdMode(epd_mode_t::epd_fastest);
display.startWrite();
display.fillScreen(TFT_WHITE);
display.setTextColor(TFT_BLACK);
display.setFont(&fonts::FreeMonoBold18pt7b);
display.drawString(ipStr, 1,10);
char batStr[32] = { '\0' }; // initialize with all zeroes
sprintf(batStr,"B:%.3fV" ,getBatVoltage() );
display.drawString(batStr, 5,50);
char counterStr[32] = { '\0' }; // initialize with all zeroes
sprintf(counterStr,"%05d" , esp_random() % 99999 );
display.setFont(&fonts::DejaVu56);
display.drawString(counterStr, 5,100);
display.setFont(&fonts::FreeMonoBold12pt7b);
display.drawString("Rain & cloudy", 5,170);
display.endWrite();
delay(250); // Give Serial.print statements time to show stuff in monitor
M5.shutdown(120);
The text was updated successfully, but these errors were encountered:
I've written an app on the coreink using M5GFX that displays data on the screen.
Sometimes if i press te powerbutton or wakeup from sleep the black pixels go briefly dark and display the same data a bit dimmer.
It seems the refresh process sometimes behaves oddly with some weird result.
Sometimes during the last step in the refresh process the contents of the display gets a bit dimmer. ( see picture)
I tried the 4 different edp modes but all with the same endresults (sometimes good sometimes dim)
What could be the problem?
Do i need to disable M5 eink when using M5GFX like this :
or shouldnt it matter?
The text was updated successfully, but these errors were encountered: