I am a beginner in arduino programming. I tried to write a program to run two servo motors (Hobby motors - Vega robotics V3003) in opposite direction. That is one from 0-180deg and another from 180-0 degree.
The code which i wrote works well but the problem is both motors does not rotate simultaneously, only after the first servo moves from 0-180 the second servo moves from 180-0. I am using arduino mega board.
Please help me with the code, thanks in advance