MIDI library- set another serial port

Hi,

i am using the "official" MIDI library and have a question, because i can't understand the documentation:

http://playground.arduino.cc/Main/MIDILibrary#.Uywgftyhhwo

Instead of the standard MIDI input port i'd like to use the second one on am Arduino Mega 2560.

May someone tell what to write instead of..

MIDI.begin(MIDI_CHANNEL_OMNI);

Thank you!

Greetz Chris

You need to edit the library header file. It is pretty clear when you read the file.

You mean MIDI.h?

Greetz Chris

After downgrading to the MIDI library V.3.2 i found everything i had to find in the MIDI.h-file.

If i change

#define USE_SERIAL_PORT         Serial      // Change the number (to Serial1 for example)

to

#define USE_SERIAL_PORT         Serial1     // Change the number (to Serial1 for example)

Serial0 does not work anymore, but Serial1 does not work too.

When i switch back to

#define USE_SERIAL_PORT         Serial      // Change the number (to Serial1 for example)

Serial0 works perfect again.

May someone explain, what's going on there (Arduino Mega 2560)?

Greetz Chris