This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Servo SAADC With nRF52832

Hello everybody. I need to rotate servo and check adc on potentiometer to stop it if something is blocking the shaft.

I need to change servo position step by step and check saadc values on each step.

I was able to measure voltage on potentiometer using saadc library and rotate servo with PWM Library in one project, everything works fine, but don't know how to check voltage on every step.

I am very new to microcontroller development and particularly to nrf. On Arduino changing steps just in for loop and measuring voltage gave me that I want. but in nrf52832 I can't find something like that.

I hope for your help. Thank you..

Related