Skip to content

Instantly share code, notes, and snippets.

View Steve-Tech's full-sized avatar

Stephen Horvath Steve-Tech

View GitHub Profile
@Steve-Tech
Steve-Tech / Piano_for_Arduino.ino
Last active August 4, 2018 12:31
A piano made with buttons written for Arduino.
/*
* Steve's Piano even though it's more of a keyboard.
* Wiring Diagram at https://steve.jas-team.net/howto/arduino/piano/
* By Steve
*/
#include "pitches.h" //Got this from https://www.arduino.cc/en/Tutorial/ToneMelody but should be included here
//Declaring Variables although they don't vary
const int KeyPins[] = {2, 3, 4, 5, 6, 7, 8, 9}; //An Array for the pins of the keys