Controlling servo direction with arduino
Currently I'm using this code to rotate them both:
for(pos = 0; pos < 180; pos += 1)
and then using the same code, only replacing the top part with
for(pos = 180; pos>=1; pos-=1)
to return to the original position.
How do I make both servos go opposite directions though, so they can both be used to lift a beam at the same time?