Arduino MIDI Library  Version 5.0.1
MIDI_Callbacks.ino

This example shows how to use callbacks for easier MIDI input handling.