#include #include #include ISR(TIMER0_OVF_vect) { static uint8_t i = 0; ++i; if (i == 10) { i = 0; TCNT0 = 160; PORTB ^= 1<<7; /* flip LED7 */ } } int main(void) { DDRB = 0xFF; PORTB = 0xFF; /* alle LEDs uit */ DDRA = 0x00; TCNT0 = 160; TCCR0 &= ~(1<