Read a potentiometer continuously? on STM32 and analogRead()

Something like that