When I try the code examples at https://www.pjrc.com/teensy/td_libs_MIDI.html I get this error: "'MIDI' was not declared in this scope". Based on my experience with non-Teensy Arduinos, I added a call to MIDI_CREATE_DEFAULT_INSTANCE() and that error went away (I have other problems, but one step at a time).
Question: Is MIDI_CREATE_DEFAULT_INSTANCE() supposed to be unnecessary with Teensy MIDI as the examples imply?
Question: Is MIDI_CREATE_DEFAULT_INSTANCE() supposed to be unnecessary with Teensy MIDI as the examples imply?
- If so, am I somehow pulling in the wrong MIDI.h?
- If not, the docs should be corrected.