>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 I would put a schotkky diode across the zener diode - check RS for a BAT64 or similar diode. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads