Created
June 18, 2012 17:46
-
-
Save jonmarkgo/2949656 to your computer and use it in GitHub Desktop.
Set up Servos
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> | |
const int rightservoPin = 9; //digital pin your right servo is plguged into | |
const int leftservoPin = 10; //digital pin your left servo is plguged into | |
const int rightStopPos = 91; //stop position of your right servo | |
const int leftStopPos = 91; //stop position of your left servo | |
Servo rightservo; | |
Servo leftservo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment