code for Arduino midi clock out?

Lot's of arduino midi examples but I have not found any code for generating a clock signal. I want to use an arduino as a master clock.

Any tips or links?

Its called millis(). Basically its the internal clock signal of the arduino. Or al least the closest thing to it.

http://arduino.cc/en/Reference/Millis

totally familiar with millis(). I meant midi clock not just clock.

I found examples here: http://www.glacialcommunications.com/src/sequencer_1.pde