Since the comparators are analog in their nature there isn't really anything such as equality, there is always a tiny difference between what the two inputs see. Noise alone will ensure the inputs will never be exactly equal. TTYLY > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Alan Gorham > Sent: Tuesday, November 27, 2001 08:12 > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: Use of comparators on 16f628 for equality testing > > > Hi > > Just a quick query to settle my mind. > > Am I right in thinking that the analogue comparator in the f628 > cannot be used to check for equality of its two inputs. > It can only be used for greater than/less than operation, right?! > > Thanks > > Alan > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu