trying to use timer0 to set time

if timer0 period is too small, other interrupts do not take place