For quite sometime, it seemed that code produced via the Arduino IDE used usbMIDI without a usbMIDI.h include.
However, since I upgraded to the Arduino IDE v2.0.3, this seems not to be so, and the code below:
generates a Compilation Error: usbMIDI.h: No such file or directory.
BUT inclusion of usbMIDI.h gives error "File/Directory not found"!
So: which usbMIDI library is advised? I'd prefer to use a Teensy usbMIDI library
In hope,
KASpencer
However, since I upgraded to the Arduino IDE v2.0.3, this seems not to be so, and the code below:
Code:
void setup()
{//1. Declare usbMIDI Event Handlers:
usbMIDI.setHandleNoteOn (OnNoteOn);
usbMIDI.setHandleNoteOff (OnNoteOff);
// ...
}// END setup()
BUT inclusion of usbMIDI.h gives error "File/Directory not found"!
So: which usbMIDI library is advised? I'd prefer to use a Teensy usbMIDI library
In hope,
KASpencer