Hello,
I am trying to build a midi controller with an Arduino. I would like to have 16 buttons that triggered a midi event when they were pushed. I would also like to have the buttons lit with an white LED all of the time, then change to blue when they are pushed.
I know that I will need to use shift registers, such as the CD4021BE, for the buttons, and another set of shift registers, such as the 74HC595 to control the leds.
I have read the ShiftIn and ShiftOut tutorials:
http://www.arduino.cc/en/Tutorial/ShiftIn and
http://arduino.cc/en/Tutorial/ShiftOut, as well as how to interface with MIDI -
http://arduino.cc/en/Tutorial/MidiI have a basic understanding of how each system would work, and how to wire them up, but I have no idea how to write a program that would combine all of them into a finished product.
Thanks for the help.