@OzGrant
Had a quick view in the midilib and somewhere in the top of the CPP file there is #define UART Serial which is used through the code as Serial port.
Quick hack:
- include the NSS library,
- declare an instance of NSS e.g. MidiSerial
- do a global search/replace of UART with MidiSerial
Better:
- accept param TX and RX in the constructor (default 0 & 1 to be BW compatible)
- if 0 and 1 => use hardware serial
- if other pinnr's => use NSS