lathoub / Arduino-USBMIDI

Allows a microcontroller, with native USB capabilities, to appear as a MIDI device over USB to a connected computer
MIT License
148 stars 11 forks source link

Add custom instance macro #11

Closed levicole closed 2 years ago

levicole commented 3 years ago

Adds a macro for creating a custom instance of MidiInterface. This will allow users to override settings like SysExMaxSize.

I am no C++ programmer, so most of this is just a copy/paste job, but I did test this out in my project and it does work.

Happy to address any issues you see!