Hello!I found a useful tutorial about using timers on arduino, and I tried to hack an example to make some tests.This sketch, should work this way:1- receive an external signal and trigger an external interrupt2- the external interrupt function (tachSignal) sets timer1 to wait for a certain amount of time3- when the ISR runs, it turns on an led and then sets timer1 for another time interval4- when the ISR runs again, it turns off the led and reset timer1

Hello!I found a useful tutorial about using timers on arduino, and I tried to hack an example to make some tests.This sketch, should work this way:1- receive an external signal and trigger an external interrupt2- the external interrupt function (tachSignal) sets timer1 to wait for a certain amount of time3- when the ISR runs, it turns on an led and then sets timer1 for another time interval4- when the ISR runs again, it turns off the led and reset timer1

here is the sketch:

So have you tried to run the code? How does it work? What errors do you see?

New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/