Salvatore "Sal" Testa /@saltesta14
Set one wire high and the other low.
Data, power, ground
#include <Servo.h> // include library
Servo myservo;
int SERVO = P1_7;
void setup()
{
myservo.attach(SERVO); // set the pin
}
void loop() {
myservo.write(180); // default range 0-180 degrees
delay(1000);
myservo.write(0);
delay(1000);
}