MIDI/Firmware problems

Recently, I tried to make my own HID compliant MIDI controller using the HIDUINO firmware and MIDI library, but have had no success. I realized that the HIDUINO firmware was actually written for the Atmega8U2, not the Atmega16U2, which is on the arduino R3, which I am using. My question is, is the 16u2 backwards compatible in terms of firmware, with the 8u2, or should i be looking for other problems with my project?
tl;dr: can I use 8u2 firmware on the 16u2?

I am also interested in this. Any help would be appreciated. I'm not exactly what the 8u2/16u2 is or even does. Homework for me. :slight_smile: