[HELP] Midi button LED control code.

Joeking:
I have entered your code and nothing is happing, was it ready to go or am I supposed to add to it?

No it was working and tested.
Are you compiling it with the MIDI option selected in the tools menu?