#include <Servo.h>
const byte servoPin = 5;
Servo Test;
void setup()
{
Test.attach(servoPin);
}
void loop() {
Test.write(0);
delay(1000);
Test.write(180);
delay(1000);
}
#include <Servo.h>
const byte servoPin = 5;
Servo Test;
void setup()
{
Test.attach(servoPin);
}
void loop() {
Test.write(0);
delay(1000);
Test.write(180);
delay(1000);
}