How to make a servo motor turn 90 degrees?
To make a servo motor turn 90 degrees, send a PWM signal with a pulse width between 1.0ms and 2.0ms, where 1.5ms corresponds to the neutral position. Adjust the pulse width to command the desired angle.
Read more