Quote Originally Posted by charudatt
... detecting a low voltage condition , to blink an LED. ...
regards.
It is still not clear (to me) what you are trying to do - Are you trying to detect a low voltage condition of your 6V battery supply? In other words, do you want to monitor the 6V battery supply and then blink an LED when the batteries have reached 3V?

If you are detecting a low voltage condition of something else other than the Vdd of the 16F628A then Melanie's comparator primer (as suggested by Steve) is the approach and method you want.

If you are trying to do what I asked in my first paragraph of this post, then the internal comparators will not work without additional "efforts" because the internal reference voltage for the comparator is based on the Vdd supplied to the PIC.

Are you using a voltage regulator?
(6V is too high for a PIC and will damage it with time)

Paul Borgmeier
Salt Lake City, Utah
USA