This is the setup i have done after your reply but int won't fire.
setup_comparator(A0_A2_A1_A2_OUT_ON_A3_A4);
enable_interrupts(GLOBAL);
enable_interrupts(INT_COMP);
Thanks for good explaning.
I'm not using asm code but pic c compiler code.
The code i pasted was from .h pic file. I didn't find any reference explaining it in pic c compiler code directly, all i fi ...
I have one input changing in logic. When 5v input i want an interrupt to fire so that to reset a two seven segments with 4 bit decoders counter in port b.
Can anyone help me on configuring the compar ...