Created
September 5, 2013 17:19
-
-
Save johndavid400/6453257 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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