Last week I was in Rome for the Arduino Day. I was amazed by the projects and the people there: true Arduino fans. This is the first post about some of those projects: more soon.
[anbello] generates – via MIDI – different light patterns on a strip of addressable RGB LED
MIDI messages from the keyboard (real or simulated on PC) enter the MIDI Shield’s MIDI IN and are presented to the Arduino serial port. The Arduino firmware interprets the MIDI messages NoteOn NoteOff, associates each key on the five octaves (60 keys) keyboard to a strip LED and lights it with color associated with the note. In the firmware to control the strip we used the FastSPI_LED library that allows you to address every single LED and turn the desired color (R, G, B).
One interesting thing to note is the use of the firmaware function millis() to implement a sort of elementary multitasking. The idea was taken from this post after user “westfw” on the Arduino forum.
I really appreciate the effort of translating the post. Check the code and part list on [Sululab]