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