Quote:
Originally Posted by tomy
What I meant is how would you control the servo in code using microseconds?
|
Servos are written a signal that is 1000-2000 uS high, then 20ms low. The number of uS you write is directly proportional to the angle; 1000uS is 0*, 1500uS is 90*, and 2000uS is 180*. There is some error but for relative angle movement (turn 5* to the left) it should be fine.