uint8_t count; ISR(TIMER0_OVF_vect){ count++; if(count==20){ count=0; // Toogle LED PORTB=PORTB ^ 0x20; } }