#include <Servo.h>
Servo m1;
int servoPin = 9;
void setup() {
// put your setup code here, to run once:
m1.attach(servoPin);
}
void loop() {
// put your main code here, to run repeatedly:
int theta1 = 10;
for (int i = theta1; i<theta1+80; i++){
m1.write(i);
delay(40);
}
}