Mike - K8LH
Well-Known Member
No, it's not you. I'm the one who's embarrassed.
Please add the following line at the top of the ISR;
Please add the following line at the top of the ISR;
Code:
void interrupt()
{ pir1.TMR2IF = 0; // clear timer 2 interrupt flag