#include <Servo.h>
Servo myservo1;
Servo myservo2;
void setup() {
// put your setup code here, to run once:
myservo1.attach(11);
myservo2.attach(12);
}
void loop() {
// put your main code here, to run repeatedly:
for(int i = 0 ; i <180 ; i++){
myservo1.write(i);
delay(10);
i=i+10;
}
for(int i = 0 ; i <180 ; i++){
myservo2.write(i);
delay(10);
i=i+10;
}
}