Is there some best practice on how to implement constantly changing variables within set_text, when using multiple screens? I want to show Sensor data that is changing every few seconds on one of my screens. Is there some way to always update the label every few secs, once the screen is active? I‘m using square line studio.
Welcome,
Yes, it is possible but I think it will be hard/impossible to do in Squareline alone, you will need to program it yourself in whatever environment you use to build the project currently.
Refer to the Timer documentation and use Timer to control text updates.
https://docs.lvgl.io/8.3/overview/timer.html