Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - sivaccumr

#1
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