#define F_CPU 1000000 #include #include // globale Variablen volatile uint8_t flag; int main() { // IO konfigurieren DDRA = 0xFF; DDRB = 0xFF; DDRC = 0xFF; DDRD = 0xFF; // Timer2 konfigurieren TCCR0 = 0b00000101; //Vorteiler 1024 TIMSK |= (1<