Dan & Vijay Marchesani wrote: > Hi Dave > (Reposted DRAWING due to error in TEXT format) Then follow your wiring of the LED, R1 - Resistor (100 to 600 Ohms), add (two) 1N914 Diodes, and Switch below..... |-------/\/\/\/\/\/\/\----5V (Internal to Pic, WEAK PULL UP) | | (LED With (2) 1N914 Diodes) *----I/OPin---*---|>|--|>|--|>|--/\/\/\/---GND | | | \ |--------* \--------------GND Switch Dave The Switch has to SHUNT the LED, this is only way to keep the LED from turning on... Dan -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads