If I activate one of the comparators on a PIC, does it behave completely independant of program execution and timing? Assuming I've configured for the inverting input and non-inverting input, as well as a certain pin as the output... can I just run my program then and have those 3 pins act as a "descrite comparator" all by themselves?
I've updated a circuit and it turns out I'll need one single comparator, but it has nothing to do with my program, I could essentially add a single descrite comparator to the board and be done, but I've got 4 unused I/O's on my PIC and realized I can probably use those pins for this task without adding another component. The use of the comparator in this case is for a completely separate part of the circuit, though it's fed by the same power supply and ground so it should be electrically compatible.
Thanks!
Bookmarks