Quote:
Originally Posted by JohnC
I just had a bad idea. If you want interrupts on the rising AND falling edges...
Code:
void Int_1_ISR(void)
{
INTCON2bits.INTEDG2 = !INTCON2bits.INTEDG2;
}
Mmm, does anyone smell the processor cooking?
|
I did this for the 2004 IR beacon receiver and it works just fine (and no smoke or flames <grin>).
-Kevin