I have been searching for information in almost all the forums to find out more information on the output signal of the comparators and how to convert the value to comparable voltage value. So far it has been unsuccessful.
What I am looking for is to get the Vout and convert into volts to compare with Vref which will allow me to run several action depending on the outcome of formula.
Vnow = Vout-Vref.
Today i can read the value of the COMCON bit 7(COUT1) and bit 6(COUT2) either as binary 1 or 0 in theory.
Maybe I am stupid to do a such a calculation please bear with me as I am new and want to learn more about PIC MCU' s. You all are welcome to make positive or negative comment on this.
Do appreciate all the help.
Look forward to an answer.
Good day to all of you.
What I am looking for is to get the Vout and convert into volts to compare with Vref which will allow me to run several action depending on the outcome of formula.
Vnow = Vout-Vref.
Today i can read the value of the COMCON bit 7(COUT1) and bit 6(COUT2) either as binary 1 or 0 in theory.
Maybe I am stupid to do a such a calculation please bear with me as I am new and want to learn more about PIC MCU' s. You all are welcome to make positive or negative comment on this.
Do appreciate all the help.
Look forward to an answer.
Good day to all of you.