Hi,
I'd like to launch a function periodically that uses timer2 overflow
I've found the lib Arduino Playground - MsTimer2
It perfectly works (I've just added some defined for my 328P)
However, in the flash() function of the example, if i put a delay(3000), it doesn't work any more... In fact flash() function is launched one time and that's all (the led switches on and ever switches off)
Any idea on how i can have a function overflow (flash() there) that takes several seconds (around 30 sec in my case) ?
I really don't know what to change in MsTimer2 to make it work...
Thanks