Dave Dribin wrote: > Hmm... thanks for the suggestion, but I really wanted to keep the LED > independent from the switch. In this application it's not possible to > have the LED turn on and off with the switch. Is this possible? I don't think it is possible. You can't drive the LED with a high IO pin and then try to read a switch that's trying to pull that same IO pin low. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.