How to add Knob to arc and set value from 0 to 100


Hi Team,
i have few questions

  1. is it possible to add knob to arc?
  2. is it possible to set arc values from 0 to 100?
    Please give an example

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


What LVGL version are you using?


What do you want to achieve?

i want to set the arc value from 0 to 100 using knob. i want to use this arc instead of slider

What have you tried so far?


Screenshot and/or video

If possible, add screenshots and/or videos about the current state.


Yes. lv_arc_set_range(arc, 0, 100)

i am using lvgl version 6 is it possible in it?

No; this was only added to version 7.

Ok. How to convert lvgl version 6 to version 7

You would need to download the new version from GitHub. However, do be aware the style system has changed and you will need to rewrite any custom styles you may currently be using. My style compatibility module may be helpful.

OK i will change to version 7. Thanks for your help