/******************************************************************************** Includes ********************************************************************************/ #include #include #include /******************************************************************************** Interrupt Routines ********************************************************************************/ // timer1 overflw ISR(TIMER1_OVF_vect) { // XOR PORTA with 0x02 to toggle the LSB PORTA=PORTA ^ 0x02; } // timer0 overflow ISR(TIMER0_OVF_vect) { // XOR PORTA with 0x01 to toggle the second bit up PORTA=PORTA ^ 0x01; } /******************************************************************************** Main ********************************************************************************/ int main( void ) { // Configure PORTA as output DDRA = 0xFF; PORTA = 0xFF; // enable timer overflow interrupt for both Timer0 and Timer1 TIMSK=(1<