[HELP] Midi button LED control code.

Joeking:
plus now when I enter the old code back in only two buttons are working? any ideas?

Looks like your wiring is faulty then. You mush have disturbed it.