arduino_midi_library
arduino_midi_library copied to clipboard
Working on Leonardo but Not Due
Hi, I've got the Basic_IO example working on an Arduino Leonardo but for some reason it won't work on a Leonardo Due for me.
Curiously, the basic Midi example (does not require arduino_midi_library) works fine for me on both Leonardo and Due.
Anyone have any idea why the Due is having trouble running the Basic_IO example?
Thanks, Sam
I seem to be getting somewhere by creating a custom instance instead of default and using Serial instead of Serial2. MIDI_CREATE_CUSTOM_INSTANCE(HardwareSerial, Serial, MIDI, MySettings);
However, it is very flaky, and when I upload to the board while connected to iOS garageband, I get all these interesting notes and all the settings are messed with. It seems somehow a bunch of stuff is being sent over the Midi cable that isn't supposed to be...
Hoping someone can help me out here...
Thanks! Sam