/*
Controlling a servo position using a potentiometer (variable resistor)
by Michal Rinott <http://people.interaction-ivrea.it/m.rinott>
modified on 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Knob
*/
#include <Servo.h>
Servo morgan;
void setup() {
morgan.attach(9); // ataches the servo on pin 9 to the servo object
}
void loop() {
morgan.write(60);
delay(1500);
morgan.write(70);
delay(1500);
morgan.write(90);
delay(1500);
morgan.write(110);
delay(1500);
morgan.write(120);
delay(1500);
}