I should like to use both analog comparators on the 16F628A
I would like to compare a voltage (that ranges from 3 to 0 VDC relative to ground) to the internal voltage reference set to 0.5V. If the input voltage is greater than 0.5V, I want a LED go ON, or subrutine to be called.
I read the datasheet, but that just made me more confused. Couldn't find any good examples on how to use the comparator with Pic Basic.
Kindly ask recommendation about how to:
1. How do I set the internal voltage reference to 0.5V with PBP?
2. How do I setup the PIC to get the voltage in with PBP?
3. How do I use the VRCON register to call a subroutine with PBP?
The PIC doesn't need to do anything if the input voltage is below 0.5V.

Have searched forum and found recommended link:

http://list.picbasic.com/forum/messages/3064/3607.html?

But got a message - This account has been suspended.
Anyone knows how to get data from above link?
Kindly ask for a help!