Re: Trouble with Servo Breakout & Wave Shield.
Is it possible to get servos rotating in opposite directions. I used the code above and was able to get 2 servos to rotate simultaneously in the same direction (code below). How do I get them to rotate simultaneously in opposite directions now? I'm new to this as well.
for (uint16_t pulselen = map (0,0,180,SERVOMIN,SERVOMAX); pulselen < map (120,0,180,SERVOMIN,SERVOMAX); pulselen++)
pwm.setPWM(2, 0, pulselen);
pwm.setPWM(4, 0, pulselen);