Hi Duncan,

The comparator will give an interrupt on any change of the comparator (rising and falling, 2 per cycle).

If you only want one edge, you'll need to test CMCON bit 6 or 7, (depending on which comparator you are using), to see which edge it was.

If using both comparators, you'll get an interrupt when either comparator changes.
<br>