PDA

View Full Version : servo Control help.



rohitkondekar
09-06-2009, 03:21 PM
hello evryone,

I am a bit confused about how to use servos. Like if i connect a servo to PA0, because i have a 40 pin avr robot controller board it has servo/adc pins at portA. then how can I control the servo? by using timers or what? can some one plz just write a small example or code to illustrate that step. It would be a great help. Like how to move it from 255-0 etc ie different angles. i am just not getting how to implement it.

thank you