average and use own delay tmr0