Please Click Here for the Servo Code.
If you’d like to copy and paste the Servo Code below the dotted line into your Arduino Software
———————————————————————————————————————————
#include <Servo.h>
Servo myservo;
void setup() {
myservo.attach(9);
}
void loop() {
myservo.write(0);
delay(2000);
myservo.write(180);
delay(2000);
}