Quote Originally Posted by Acetronics View Post
Hi, Luis

But ... Where's your interrupt stubb gone ???

you should turn INTCON.7 to OFF ... as an interrupt occuring sends you to PAUSE asm routine library ... @ Prog mem location 4 !!!


here you do not use the interrupt system but just flag the Change in I/Os ... and further test the flag.

it would really be a miracle if your program shows you what you were looking for ...

Alain
The trick here is that i'm not using normal interrupt, all I do for this is, if a change occurs on RA0 turn on RC5 half second and then turn it off. the GIE turn off when a change on RA0 happen and GIE = 1 again when the missmatch ends.

Only simulate and you'll see