This is a tutorial of how to create a MIDI keyboard, along with LEDs to teach you a song, and a LCD to display which song is selected.
The LEDs can guide you on what keys to press for a particular song.
Select the song with the left and right buttons, and start it by pressing the middle one.
What you will need:
Upload the code to your Uno and your Mega. If you are using a different keyboard, your input and output pins might be different. leduno.ino is for the Uno, and midipiano2 is for the Mega.
Download and install Atmel Flip. Then, connect the Mega to your computer with the USB and put it into DFU programming mode. This will allow you to program it with Atmel Flip.
Download Atmel Flip from here:
https://www.microchip.com/DevelopmentTools/Product...
Then, download the arduino hex file from here:
https://github.com/ddiakopoulos/hiduino
Upload it to your board via Atmel Flip.
Now, if you want to play on your MIDI keyboard, all you have to do is connect it to your computer, fire up your favorite VST host or DAW, and you're ready to go!