#include <Servo.h>
Servo servoMotor;
int angle = 0;
void setup() {
// put your setup code here, to run once:
servoMotor.attach(9);
}
void loop() {
// put your main code here, to run repeatedly:
angle=170;
servoMotor.write(angle);
delay(500);
}