This is my new code, and it works, How ever I am looking to make them rotate 360 not 180.
My code is here.
</>
/* Sweep
by BARRAGAN <http://barraganstudio.com>
This example code is in the public domain.
modified 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Sweep*/
#include <Servo.h>
Servo MyServo; // create servo object to control a servo
// twelve servo objects can be created on most boards
Servo Four; // create servo object to control a servo
// twelve servo objects can be created on most boards
Servo Three; // create servo object to control a servo
// twelve servo objects can be created on most boards
Servo One; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup()
{
MyServo.attach(7); // attaches the servo on pin 7 to the servo object
Four.attach(2); // attaches the servo on pin 2 to the servo object
Three.attach(4); // attaches the servo on pin 4 to the servo object
One.attach(

; // attaches the servo on pin 8 to the servo object
}
void loop()
{
for(pos = 0; pos <= 90; pos += 1) // goes from 0 degrees to 180 degrees
{ // in steps of 1 degree
MyServo.write(pos); // tell servo to go to position in variable 'pos'
Four.write(pos); // tell servo to go to position in variable 'pos'
Three.write(pos); // tell servo to go to position in variable 'pos'
One.write(pos); // tell servo to go to position in variable 'pos'
delay(10); // waits 15ms for the servo to reach the position
}
for(pos = 90; pos>=0; pos-=1) // goes from 180 degrees to 0 degrees
{
MyServo.write(pos); // tell servo to go to position in variable 'pos'
Four.write(pos); // tell servo to go to position in variable 'pos'
Three.write(pos); // tell servo to go to position in variable 'pos'
One.write(pos); // tell servo to go to position in variable 'pos'
delay(10); // waits 15ms for the servo to reach the position
}
}
</>