I'm having trouble getting more than one servo to be controlled simultaneously (or close to it) by the arduino. My project will involve six servos, slowly sweeping in different patterns (with faces attached, in case yr wondering) but if I could get two going, I'd be delighted for the moment.
The way I imagined it was that I could, with the code in the right order, check servo1's position, move it one degree, check servo2's position, move it one degree and so on through a number of them but the code I'm using, adapted from the Sweep example of the servo library, either puts one servo at a time through it's entire sweep or, with other variations, only moves the first motor properly and intermittently moves the second a degree now and again.
I have, as with the Sweep example, been using a delay between degrees. I looked at another forum thread where another timing function was suggested but couldn't adapt the code fragment there either http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1269991181
Anyone have any suggestions? Thanks!