Instantly share code, notes, and snippets.

Embed
What would you like to do?
Human Music setup pin 2 as output
void setup() {
// put your setup code here, to run once:
pinMode(2, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
//c
tone(2, 262, 100);
//pause
delay(400);
//d
tone(2, 294, 100);
//pause
delay(400);
//c
tone(2, 262, 100);
//pause
delay(800);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment