Labs/Lab6/lab6_orig_2021.c
/******************************************************************************
 * TMR0handler interrupt service routine.
 *
 * Handles Alive LED Blinking via counter 
 ******************************************************************************/
TMR0handler interrupt service routine.
Handles Alive LED Blinking via counter
TMR0handler interrupt service routine . Handles Alive LED Blinking via counter
void TMR0handler() {
    if( Alive_count < 4880 ) { Alive_count++; }
    else {
        LATDbits.LATD4 = ~LATDbits.LATD4;
        Alive_count = 0;
    }
    INTCONbits.TMR0IF = 0;      
}
void TMR0handler ( ) { if ( Alive_count < 4880 ) { Alive_count ++ ; } else { LATDbits . LATD4 = ~ LATDbits . LATD4 ; Alive_count = 0 ; } INTCONbits . TMR0IF = 0 ; }
TMR0handler interrupt service routine.
TMR0handler interrupt service routine .
//Clear flag and return to polling routine