Yes, that method uses too many pins. I only need one comparator. I could use mode 1, but the final blow to that method is that I am using Vref (needs to be 3.0V, Vdd is not reliable) for the ADC and ...
Wow, I didn’t notice that. I had a suspicion I was doing something wrong and it wasn’t the compiler because this is the first time I have used the comparator… I am so glad I tried this forum.
...
I am using the PCWH 4.065 to program a PIC18LF2620. I am using the comparator and when I read the comparator register CMCON (bit 6) C1OUT I can see it changing state from 1 to 0 to 1 etc… but when ...