Author Topic: help me- to program for a servo motor (PWM)  (Read 5178 times)

sivaccumr

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
help me- to program for a servo motor (PWM)
« on: March 22, 2009, 05:58:46 am »
can anyone give me a sample program on how to control a servo?
simply generate 1ms to 2ms for every 20ms on any of the PWM port (p1.3 to p1.7)
and along with the calculation.
and i dont want using timers. bcos in the same port the value of PWM(3 values say, 1.35, 1.5, 1.65ms) ill be changing in the due course of program which is not possible using timers.


for reference

http://www.best-microcontroller-projects.com/servo-motor.html