SERVO in C code...
Hi,
Does anyone has programmed a Servo motor in C?? I'm currently working in a servo and would like to rotate 180 degrees constantly while is on rotating an Ultrasonic sensor.
Also, do you think that using PWM would work as well or does anyone has another suggestion???
Thanks
Does anyone has programmed a Servo motor in C?? I'm currently working in a servo and would like to rotate 180 degrees constantly while is on rotating an Ultrasonic sensor.
Also, do you think that using PWM would work as well or does anyone has another suggestion???
Thanks
Comments
This is not really considered to be PWM although that also involves controlling the width of a periodic pulse.
Here goes another question, any hints on how rotate the servo motor to a full 180 degrees motion???? We've been trying to do so following some of the hints you gave us, but for some reason, the most we rotate is 120 degrees... Any clues??
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen