How to set spinner speed and dierction in 8.x?


How to set spinner time/speed, arc length and direction after spinner is created (v8)?
In v7.11 were some setters like:
lv_spinner_set_spin_time(preload, time_ms),
lv_spinner_set_dir(preload, LV_SPINNER_DIR_FORWARD/BACKWARD)

What MCU/Processor/Board and compiler are you using?


What LVGL version are you using?


What do you want to achieve?

Set spinner params like speed, direction , arc lenght etc. at run time.

What have you tried so far?

looked at lv_spinner.c

1 Like