I read compare module and i understand how it works that is it compare the two voltages on the input terminals.
comparator has two terminals, positive(Vref) and negative(input voltage on AN1 0r AN0)
Depending on which input has a higher voltage (analog value),
a logic zero (0) or logic one (1) (digital values) will appear on its output.
On my project i dont want to know whether the output is low or high but
i want to know exactly magnitude of output voltage, to know the magnitude of output voltage after comparison
I need someone to help me, anyone who is able to provide a sample code to overcome this problem
Bookmarks