I have code that I run in USB serial mode (for debug), and USB MIDI mode as a controller.
Every time I toggle between modes I have to comment/uncomment all the 'usbMIDI.' messages otherwise an error is thrown:
usbMIDI was not declared in this scope
Is there a workaround for this? To prevent this error from being thrown? Commenting/uncommenting all the lines is just becoming a bit of a hassle.
Thanks!
Every time I toggle between modes I have to comment/uncomment all the 'usbMIDI.' messages otherwise an error is thrown:
usbMIDI was not declared in this scope
Is there a workaround for this? To prevent this error from being thrown? Commenting/uncommenting all the lines is just becoming a bit of a hassle.
Thanks!