Generic timers for arduino boards