Ableton Live - SerialMidi - Arduino - Need help

How could it work - i send MIDI notes over SerialMidi to my Arduino, my problem is, i need a sketch/possibility to spread the different notes on different pins on the arduino board. For instance c1 on pin13 d1 on pin12 and so on.

Would appreciate your suggestions.