pod.knob1.Process() slow change

I did some debugging of how the pod’s pot values change and for some reason it takes long time for the Process() to reach the new value once the knob has been turned.

I am wondering if this has something to do with the debug process (STLINK/gdb using dprintf) or the ADC needs time to read the new value.

Thanks

My guess is that it’s a side-effect of the debugger and printing. Try a test (without debugger) where a pot sets the frequency of an oscillator. You’ll see there is no lag in response to pot motion.

1 Like