Labs/Watkins_William_Lab5.c
/******************************************************************************
 * TMR1handler interrupt service routine.
 *
 * Handles Alive LED Blinking via counter
 ******************************************************************************/
TMR1handler interrupt service routine.
Handles Alive LED Blinking via counter
TMR1handler interrupt service routine . Handles Alive LED Blinking via counter
void TMR0handler() {
    LATD = !LATD;
    TMR0H = 0x0B;
    TMR0L = 0xDC;               
    INTCONbits.TMR0IF = 0;      
}
void TMR0handler ( ) { LATD = ! LATD ; TMR0H = 0x0B ; TMR0L = 0xDC ; INTCONbits . TMR0IF = 0 ; }
TMR1handler interrupt service routine.
TMR1handler interrupt service routine .
// STUDENTS ADD CODE HERE TO IMPLEMENT THE TIMER SERVICE ROUTINE TO MAKE THE LED BLINK // Note that the variable Alive_count has been declared with global scope and may be used // in this handler if desired. // Setting TMR0 regs for 0.5s (Loading 3036) //Clear flag and return to polling routine