View Full Version : Using Comparators
Short_Circuit
- 25th November 2009, 04:17
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
Melanie
- 25th November 2009, 08:05
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/messages/3064/3607.html?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.
Acetronics2
- 25th November 2009, 08:40
Hi, Mel
Sorry, but ...
HTTP 404
regards
Alain
Melanie
- 25th November 2009, 08:52
Prime example of why folks should never use COPY and PASTE with their PICBASIC code!
Corrected - Thanks Alain!
Short_Circuit
- 25th November 2009, 13:57
Thank you Melanie!
I finally understand.
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.