PDA

View Full Version : PIC16F616 Comparator problem



JimA
- 15th October 2007, 14:56
Hi All,

I am a newcomer to this site and was wondering if anyone could shed some light onto this for me. I am new to PIC programming so if my description sounds very basic, this is why!

I am trying to program a PIC16F616 in order for the comparator to operate an LED if/when the input voltage exceeds a pre-defined Vref. This is literally all I am looking for from the chip and probably sounds very simple to someone however I am a complete novice. I have had a look around for some examples of code on the net however I can find hardly anything on the 16F616.

Any help on this matter would be very gratefully received.

Many Thanks