esp8266-oled-ssd1306 icon indicating copy to clipboard operation
esp8266-oled-ssd1306 copied to clipboard

Implement a different overlay for each page

Open zfdx123 opened this issue 1 year ago • 0 comments

FrameCallback frames[] = { drawDateTime, drawCurrentWeather, drawForecast, drawDeviceInfo };
int numberOfFrames = 4;

OverlayCallback dynamicOverlay[] = { drawHeaderOverlay, drawHeaderOverlayTmp }; 
uint8_t overlayIndex[] = { 1, 0, 0, 0 };

ui.setOverlays(dynamicOverlay, overlayIndex); 

4cf833cd9817a95f1562a21f9e2a7ee

711b3d4182bd69655293bf6ef5d6fc2

Configure different bottoms for different pages to achieve better custom display effects

zfdx123 avatar Nov 25 '24 09:11 zfdx123