Slider Increment Value

Description

I’m using LV_SETTINGS with sliders. I’d like the slider to increment or decrement by 5. Is this possible?

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

STM32L4R5ZITX

What do you want to achieve?

I’d like the slider to increment or decrement by 5. Is this possible?

What have you tried so far?

Changing the calculations for the value being displayed

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

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

It’s not supported directly (as far as I know) but you should be able to scale the values returned by the slider in order to fake this behavior.

For example, if you want the slider to return values between 0 and 100, set the range to be 0 to 20, and then multiply the resulting value by 5.

I understand. Thank you very much