Load specific screen at power up

What do you want to achieve? My project has several screens selected with a menu. I want to remember which screen was loaded by storing a flag in eeprom so I can have the same screen loaded at power up.

What have you tried so far? Storing a flag in eeprom is easy. I have tried to find an event to trigger the load of a specific screen at power up but I cannot.

Screenshot or video

Others

  • SquareLine Studio version: 1.2.3
  • **Operating system:**Win 11
  • Target hardware: ESP 32 with T-RGB 2.1 inch round display.

Can’t you use lv_disp_load_scr after you have read the screen from EEPROM?

Andy

1 Like

Opps! I see that now as an obvious solution. Works great. Thank you for the help.