Created
October 2, 2012 04:59
-
-
Save aaronsherwood/3816249 to your computer and use it in GitHub Desktop.
bang a lollipop on a glockenspiel with arduino
This file contains 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 servoMotor; | |
const int servoPin=2; | |
void setup(){ | |
servoMotor.attach(servoPin); | |
} | |
void loop(){ | |
servoMotor.write(82); | |
delay(500); | |
servoMotor.write(58); | |
delay(60); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment