Hi elec_mech,
Changing the Edge Select bit while the interrupts are enabled can cause a False interrupt to be generated.
Turn off the Global Interrupt Enable (INTCON.7) before doing this...
intcon2.5 = 0 ' Act on falling edge
Then clear the INT1IF Flag (INTCON3.0) before enableing GIE again.
HTH,
Darrel
Bookmarks