Using Adafruit_USBD_MIDI - how do you make MIDI object globa

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
fapplin
 
Posts: 31
Joined: Mon Sep 23, 2013 8:47 am

Using Adafruit_USBD_MIDI - how do you make MIDI object globa

Post by fapplin »

I am using Earle F. Philhower's Arduino Core, which includes Adafruit_TinyUSB.

My question is how do I make the MIDI object in this statement a global object that I can use across files.

MIDI_CREATE_INSTANCE(Adafruit_USBD_MIDI, usb_midi, MIDI);

Thanks,

Frank

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”