Professional Documents
Culture Documents
My Servo Test
My Servo Test
h>
Servo fateh;
int pos1 = 0;
void setup() {
fateh.attach(9);
}
void loop() {
fateh.write(pos1);
delay(10);
}
for(pos1 = 180; pos1 >= 1; pos1 -= 5)
{
fateh.write(pos1);
delay(10);
}
}