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.

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

I found examples here: