This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

potmeter adc

Hello all,

I use function HalAdcRead to read values of potmeter.

This:value = HalAdcRead(HAL_ADC_CHANNEL_7, HAL_ADC_RESOLUTION_8);

When I fix value, for example 22, the display I get the value 22,23,22,23,22 ...

Does anyone know how this can be resolved?

Thanks