Skip to content

Instantly share code, notes, and snippets.

@johndavid400
Created September 5, 2013 17:19
Show Gist options
  • Save johndavid400/6453257 to your computer and use it in GitHub Desktop.
Save johndavid400/6453257 to your computer and use it in GitHub Desktop.
#include <Servo.h>
Servo myservo;
void setup()
{
myservo.attach(8);
}
void loop()
{
myservo.write(160);
// then change the 160 to 20 and reupload to see if the servo moves
delay(15);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment