I've got this signal http://home.clear.net.nz/pages/joecolquitt/lv_an.html going into AN0 of a 16F877. It works but the signal must have some negative-going components (or possibly a switch glitch) as the port occassionally latches. How can I best protect the pin against signals going below Vss-0.6V According to 20.11 of the Mid-range Manual "Since the analogue pins are connected to a digital output, they have reverse biased doides to Vdd and Vss. The analogue input therefore must be between Vdd and Vss. If the input voltage deviates from this range by more than 0.6V in either direction, one of the diodes is forward biased and latch-up may occur" 'kin oath it occurs, mate, 'kin oath -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body