
Originally Posted by
ReggieUK
I need to double check on the HID stuff on the leonardo but I've just adapted midi serial code to usb midi to work on the arduino leonardo, that is using a midi-usb firmware, are you aware that the midifighter uses a single atmega chip? 16u2 I think it is but the code will work on a 32u2, 32u4 etc.
The leonardo doesn't come with native usb midi support, you have to add a 'core' to the arduino ide called 'Arcore', this allows you just write your program directly in the arduino IDE using USBMidi.noteon(xx,yy,zz); style calls and upload from there too :-) I *think* it's got HID support in the arcore code.
I'll look into this a bit more but all of the teensy boards can be programmed directly from the arduino 1.0.5 IDE using teensyduino, you get a bunch of extra option in the tools menu, with the main one being 'USB Type', for the teensy 2.0, this gives you 8 options:
Serial
Keyboard + mouse + joystick
Serial + keyboard + mouse + joystick
Disk(internal) + keyboard
Disk(external) + keyboard
Midi
Raw HID
Flight Sim Controls
Bookmarks