#include #define F_CPU 16000000//16MHz int main(void) { DDRA=0xFF;//Port A Output DDRB=0xFF;//Port B Output PORTD=0xFF;//activate pull-up while(1) { TCCR1A=0x00;//Normal mode TCCR1B=0x41;//rising edge, no pre-scaler, no noise canceller //while(TIFR1 && (1<