#include "avr/io.h" #include "avr/interrupt.h" int main () { DDRA = 0xFF; DDRD = 0xFF; DDRB |= 0x40; PORTB |= 0x01; TCNT0 = -200; TCCR0 = 0x06; TCNT1H = (-31250)>>8; TCNT1L = (-31250)&0xFF; TCCR1A = 0x00; TCCR1B = 0x04; TIMSK = (1<>8; TCNT1L = (-31250)&0xFF; PORTA ++; }