What do you want to achieve?
Load and display my ui_Boot screen, but it does not load at all. Other screens are load and displayed normally.
What have you tried so far?
This screen did load and displayed normally before.
Screenshot or video
Others
- SquareLine Studio version:
latest (1.3.2?) - no [?] help screen with version info inside the application
- Operating system:
Win64/ESP32 PlatformIO - Target hardware:
ESP32-S3
Code excerpt:
void setup()
{
delay(100);
trgb.init();
//trgb.print_chip_info();
ui_init();
// Helligkeitssteuerung initialisieren
ledcSetup(ledChannel, freq, resolution);
ledcAttachPin(ledPin, ledChannel);
// Programmversion auf den Schirm laden
lv_label_set_text(ui_M21, version);
if (WiFi.status() != WL_CONNECTED)
{
lv_disp_load_scr(ui_Boot); **// is not loaded/not displayed**
lv_task_handler();
Serial.println("Invoke ESP_WM.autoconnect");
ESP_WM.resetSettings();
WiFi.mode(WIFI_MODE_STA);
ESP_WM.autoConnect("WaterMeterClock");
}
while (WiFi.status() != WL_CONNECTED)
{
Serial.print("Not connected loop");
}
// Preferences laden & einstellen
LoadPreferences();
Serial.print("LoadPreferences passed");
// Hauptbildschirm anzeigen
lv_disp_load_scr(ui_WaterMeter); **//loads normally and is displayed normally**
lv_task_handler();
}