lv_anim_speed_to_time() function
Calculate the time of an animation based on its speed, start and end values.
Syntax
uint32_t lv_anim_speed_to_time(uint32_t speed,
int32_t start,
int32_t end);
Arguments
speed
the speed of the animation
Return value
the time of the animation in milliseconds