I have a series of labels that flash when certain thresholds are passed.
I would like them to flash in sync, as now they flash at random intervals based on when the function that checks the thresholds runs (every 0.5s)
See GIF for example
What MCU/Processor/Board and compiler are you using?
Teensy 4.1
What LVGL version are you using?
V8.3
What do you want to achieve?
Have all my animations synced.
What have you tried so far?
Use a global function to animate with a single animation var
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
@kisvegabor do you have any lead for this?
I would have used animation timelines, but there is no way to remove individual animations from the timeline, only delete the whole timeline
You can sync them only if you use a single function for all animations. As the UI is quite static (object are not added dynamically) you can have an animation with a custom exec_cb in which you check all the object that can be blinked and if some conditions met you can hide/unhide that object. E.g.