Closed Rotil66 closed 4 years ago
Something like this should do the trick:
#include <MIDI.h>
MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI);
void setup()
{
MIDI.begin();
}
Change Serial2
to whichever port you want to use.
Ok Thanks !!!!
BlueMail voor Android downloaden
Op 16 feb. 2020 11:12, om 11:12, Francois Best notifications@github.com schreef:
Something like this should do the trick:
MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI);
Change
Serial2
to whichever port you want to use.-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/FortySevenEffects/arduino_midi_library/issues/140#issuecomment-586688789
Hello All, I'm new at using an Arduino and I have the following question. (probably asked a million times) Is there a way to set the used Serialport for Midi communication to the second serial port on a mega2560. (I like to use the standard port (0) for showing info in the Serial monitor. I can't find anything to define the used serial port (midi lib 4.3.1)
Thanks !!