I decided to get rid of midi shield and changed the firmware. Now it is Hiduino. The program still works.