Grumpy_Mike:
Try replacing that function at the end with this:-void MIDI_TX(unsigned char MESSAGE, unsigned char PITCH, unsigned char VELOCITY)
{
status = MESSAGE + midichannel;
Serial.write(status);
Serial.write(PITCH);
Serial.write(VELOCITY);
}
Grumpy_Mike, you are a genius!
P.S. After thinking about it, I understand why this works and the previous version doesn't.
But I am puzzled on why did the previous version worked with older board, if it did.