I just want to preface this by saying I started learning about Arduino and electrical engineering a month ago. I just started a project where I need to control two sets of two servos, which run simultaneously. Basically, I have two servos on pin 9, and two servos on pin 10. But, when I run the program, all the servos are going at the same speed, but at different times in the cycle, meaning some started earlier than others. Why are they running at different times?
The program I have shown is a revised version, as the original loop didn’t work. In the original, I put two for statements, one with arm1, and the other with arm2, trying to have two rotate from 0 to 180, then have the other two do the same. This didn’t work. Why?
Sorry for being such an idiot, I am sure I made someone mad
Servo_2.ino (414 Bytes)