>>> No, the anode of the LED is connected to the PIC. The cathode is >>> connected to +3. >> >> That's a strange way to drive an LED. LEDs should be driven >> with a known current. The actual voltage should be allowed >> to vary, and is usually around 2V for normal LEDs (not blue >> or white), but depends on batch, temperature, etc. Your >> method connects a fixed 2V to the LED, which is a bad idea. >> > > Whoops. I forgot to mention the current limiting resistor: > > +3V -- LED -> -- 40 ohm -- PIC That still won't work, but it will at least prevent damage to the LED or the PIC. Since the LED on voltage is probably around 2V, you may or may not get much current thru it when trying to turn it on since you are driving it with 2V when the PIC pin is high. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu