#include "avr/io.h" #include "avr/interrupt.h" int main ( ) { DDRB |= 0x82; DDRC = 0x00; DDRD = 0xFF; TCNT0 = -160; TCCR0 = 0x01; TCNT1H = (-640)>>8; TCNT1L = (-640); TCCR1A = 0x00; TCCR1B = 0x01; TIMSK = (1<>8; TCNT1L = (-640); PORTB ^= 0x80; }