The arduino TimerOne library adapted for ATmega1284P and extended for Timer3