Interupts by time

Hi. I know how i can call an interupt by Pin-state.
But i didn't find in reference an example, how to call a subroutine like every 10ms, or clockcycles or whatever.....
Searching the Forum didn't help me either... Found the "keywords" ISR and interupt just mixed up in 1mio different problems, but nothing that helped me....

Cause i didnt find anything, i thought of using a 555, to toggle a pin on and off :wink:
But in software would be easier and nicer, i guess.....

(btw, i know about the "blinkWithoutDelay"example. But i want to do it with interupts)

Thanks in advance

Check out:

http://www.arduino.cc/playground/Main/MsTimer2

Lefty

I spent more than an 1.5 hours in searching forum, and that required keyword was timer.... not ISR, not interupt. And i knew that i had to use that TCC2B (or similar) stuff.... i feel ashamed.

Thanks a lot.