I changed the IRQ routine to use timer1 instead of timer2 and it works, no com port issues. Use:
TCCR1A = 0x02;
TCCR1B = 0x04;
OCR1A = 0x7C;
TIMSK1 = 0x02;
and then change 'timer2' to 'timer1' in the ISR method.
I changed the IRQ routine to use timer1 instead of timer2 and it works, no com port issues. Use:
TCCR1A = 0x02;
TCCR1B = 0x04;
OCR1A = 0x7C;
TIMSK1 = 0x02;
and then change 'timer2' to 'timer1' in the ISR method.