Society of Robots - Robot Forum

Software => Software => Topic started by: Deviol on December 14, 2009, 08:19:34 PM

Title: control servo with one mikrokrontroller
Post by: Deviol on December 14, 2009, 08:19:34 PM
can we control 2 servo using a one mikro ? i want to control 2 servo at same times using atmega128 in codevision avr.
someone can help me ?  ???  because i'm really newbie in C language.... thanks
Title: Re: control servo with one mikrokrontroller
Post by: waltr on December 15, 2009, 09:12:30 AM
Yes you can. Look at the threads listed in the related topics below and other threads here. A number of people have posted code. Also read the SoR tutorials.

You just need one output pin for each servo. Then set-up timing to output the desired pulse width to each servo.