#include <Servo.h>
int servoPinB = 11;
int servoPinY = 3;
int servoPinR = 9;
int servoPos = 90;
int servoPosi = 0;
Servo myServo;
Servo myServo2;
Servo myServo3;
void setup() {
// put your setup code here, to run once:
myServo.attach(servoPinB);
myServo2.attach(servoPinY);
myServo3.attach(servoPinR);
}
void loop() {
// put your main code here, to run repeatedly:
myServo.write(servoPos);
myServo2.write(servoPos);
delay(1000);
myServo.write(servoPosi);
myServo2.write(servoPosi);
delay(1000);
}