Hello, I noticed that there is a place to add more overlays. I'd like to add overlay number 2 that shows a "mode" message for one second when a button is pressed, then switches back to the normal overlay (number 1). Is this possible?
Here's what I am thinking:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello, I noticed that there is a place to add more overlays. I'd like to add overlay number 2 that shows a "mode" message for one second when a button is pressed, then switches back to the normal overlay (number 1). Is this possible? Here's what I am thinking:
`OverlayCallback overlays[ ] = { drawHeaderOverlay, MoonMode };
int numberOfOverlays = 2;
void MoonMode(OLEDDisplay *display, String label) { display->clear(); display->setTextAlignment(TEXT_ALIGN_CENTER); display->setFont(ArialMT_Plain_10); display->drawString(2, 52, "Moon Mode:"); display->drawString(64, 52, label); display->display(); }`