What do you want to achieve?
When my device starts an OTA update (ElegantOTA) Change to the OTA screen with a moving progress bar. (The progress bar works when I make OTAScreen #1 in Squareline so I know it’s not blocking code.
What have you tried so far?
void onOTAStart() {
Serial.println("OTA update started!");
lv_scr_load(ui_OTAScreen); // Assuming ui_OTAScreen is the name of your OTA update screen object
}
Screenshot or video
Others
- SquareLine Studio version:
- Operating system:
- Target hardware: