I'm using the MIDI.h library. After using MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI) how do I access the MIDI instance from another class? MIDI_CREATE_INSTANCE does not return an instance of MIDI.
@djex81:
The third parameter that you are passing into the MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI) macro specifies & holds the return of your default MIDI object name, which can subsequently be referenced by "MIDI.xxx()" [e.g. MIDI.begin(MIDI_CHANNEL_OMNI)].
Mark J Culross
KD5RXT
EDIT: Whoops . . . looks like MarkT typed & posted faster than I did !! MJC