#include "avr/io.h" int main ( ) { ddra = 0xff; ddrb = 0xff; portd = 0xff; while(1) { tccr1a = 0; tccr1b = 0x41; while ((tifr&(1<