hi this is Timer intterupt basic code
#include <TimerTC3.h>
void setup()
{
TimerTc3.initialize(1000000);
TimerTc3.attachInterrupt(timerIsr);
}
void loop()
{ }
void timerIsr()
{ /in your code }
hi this is Timer intterupt basic code
#include <TimerTC3.h>
void setup()
{
TimerTc3.initialize(1000000);
TimerTc3.attachInterrupt(timerIsr);
}
void loop()
{ }
void timerIsr()
{ /in your code }