8 years ago.

Trying to display Servo angle on an LCD. How do i convert PWM to Degrees?

Essentially, what I am trying to do is display what angles my servos (pan and tilt) are pointing at on an LCD display. I am able to display the PWM values (i.e. "X:1600 Y:1500") but I am not sure how I should convert the PWM value to degrees.

Board is the STM32 nucleo (L152RE), using the library by Simon Ford.

Any help is appreciated!

Be the first to answer this question.