Skip to content

Instantly share code, notes, and snippets.

@jonmarkgo
Created June 18, 2012 17:46
Show Gist options
  • Save jonmarkgo/2949656 to your computer and use it in GitHub Desktop.
Save jonmarkgo/2949656 to your computer and use it in GitHub Desktop.
Set up Servos
#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