I have been trying to find examples of using comparators.
Also, I detect that you can set the Vref by software. If this is possible, how do you accomplish it.
Further, how do you read the results of the comparator.
I am looking at the 12F675
Printable View
I have been trying to find examples of using comparators.
Also, I detect that you can set the Vref by software. If this is possible, how do you accomplish it.
Further, how do you read the results of the comparator.
I am looking at the 12F675
Many years ago (too many!!), I did a Comparator tutorial on the (then) piclist, a link to the archive where it can be found is here...
http://list.picbasic.com/forum/messa...tml?1020960642
Although it was for the 16F628, the principle is exactly the same... on the 12F675 you will need to remember to disable the ADC's.
Hi, Mel
Sorry, but ...
regardsQuote:
HTTP 404
Alain
Prime example of why folks should never use COPY and PASTE with their PICBASIC code!
Corrected - Thanks Alain!
Thank you Melanie!
I finally understand.