> As far as feeding the comparator <300mV (even though > the data sheet seems to say that's fine), the comparator's > output is quite simply wrong. :-O 300mV to the + input > and 0V to the - input does *not* result in a high comparator > output, even though the + input is at a higher voltage than > the - input I've had no trouble at all using the comparators at low voltages, for example C2 as a motor status indicator. A2 is set to 60mV by a 100R : 8k2 division of 5V and A1 gets either 0V (motor off) or 110mV (motor on) back from the motor sense resistor and the value of cmcon,c2out is used to enable/disable the motor drive circuitry. The set-up for C2 bank0 movlw b'00000101' ;enable Comparator2 movwf cmcon and btfsc cmcon,c2out ;test comparator -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body