#include <Servo.h>
Servo motorServo;
void setup() {
motorServo.attach(5);
// put your setup code here, to run once:
}
void loop() {
motorServo.write(90);
delay(1000);
motorServo.write(0);
delay(1000);
// put your main code here, to run repeatedly:
}