Ho can I ensure that the program I use will connect to MIDI via serial1 on a MEGA 2560, so that I am free to debug via serial0?
The MIDI.h I use, seems to be the standard (if such a thing exists) with Arduino IDE:
* @file MIDI.h
* Project Arduino MIDI Library
* @brief MIDI Library for the Arduino
* @author Francois Best, lathoub
* @date 24/02/11
* @license MIT - Copyright (c) 2015 Francois Best
This is the header from it.