Hello everybody ![]()
I'm using the MIDI library and trying to use the alternate hardware serial ports on an Atmega 814, IE port PA1 and PA2.
It's hardware serial port, not software serial. But I dont know how to call it for the MIDI_CREATE_INSTANCE function.
I tried
MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI);
But Serial2 is not recognized.
Any ideas ?