-
I have an arduino uno rev 3 with an ethernet shield 2. I've created some nice little programs for my arduino using a 5-pin midi connector, but ultimately I'd like to connect it with an ethernet cable to my switch and let it to join up to my Macbook Pro Apple MIDI network (Network Session 1, port 5004) with some other Apps. Can anyone point me in the right direction to get this up and running? #include <Ethernet.h> // Enter a MAC address for your controller below. unsigned long t1 = millis(); APPLEMIDI_CREATE_DEFAULTSESSION_INSTANCE(); // ----------------------------------------------------------------------------- if (Ethernet.begin(mac) == 0) { AppleMIDI.directory.push_back(IPAddress(192, 168, 1, 63)); AM_DBG(F("OK, now make sure you an rtpMIDI session that is Enabled")); MIDI.begin(); // Stay informed on connection status MIDI.setHandleNoteOn([](byte channel, byte note, byte velocity) { AM_DBG(F("Sending MIDI messages every second")); // ----------------------------------------------------------------------------- // send a note every second
} /Users/josephhaimerl/Desktop/Aurduino Stuff/Ethernet MIDI/AVR_Directory.ino/AVR_Directory.ino.ino: In function 'void setup()': |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Try to download version 3.3 from GitHub directly (not using the Arduino library manager) |
Beta Was this translation helpful? Give feedback.
-
Under the ‘code’ dropdown (No worries, all of us were newbs at some stage - also pick on markdown, how to annotate a git posting) - good luck |
Beta Was this translation helpful? Give feedback.
-
(No need to include the entire error stack.) |
Beta Was this translation helpful? Give feedback.
(No need to include the entire error stack.)
Did you remove the old 3.2 version from the library folder?