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
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 ...
regardsHTTP 404
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Prime example of why folks should never use COPY and PASTE with their PICBASIC code!
Corrected - Thanks Alain!
Bookmarks