/*
* To keep Timer0 for common/timer.c override arduino/wiring.c.
*/#define__DELAY_BACKWARD_COMPATIBLE__#include<util/delay.h>#include"common/timer.h"unsignedlongmillis(void){returntimer_read32();}unsignedlongmicros(void){returntimer_read32()*1000UL;}voiddelay(unsignedlongms){_delay_ms(ms);}voiddelayMicroseconds(unsignedintus){_delay_us(us);}voidinit(void){timer_init();}