MaxMSP midi clock to arduino


I'm trying to send a midi clock from Max MSP (originating in Ableton Live) to my Arduino to trigger lights, etc. Can someone point me on the right path to start this? I have some code to actually parse the serial data on the arduino and interpret the MIDI clock bytes and such, but I need to figure out how to actually send the MIDI data from Max to Arduino...

Any help would be much appreciated.

you might consider our Max<->Arduino interface called Maxuino ( . It uses firmata and so you would have to rethink the control of the arduino to happen in Max as opposed to onboard the arduino, but should suit your purposes quite well.