> -----Original Message----- > From: Olin Lathrop [mailto:olin_piclist@EMBEDINC.COM]=20 > Sent: Thursday, July 10, 2003 11:25 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Puzzling non-reset behavior >=20 >=20 > > No, the anode of the LED is connected to the PIC. The cathode is=20 > > connected to +3. >=20 > That's a strange way to drive an LED. LEDs should be driven=20 > with a known current. The actual voltage should be allowed=20 > to vary, and is usually around 2V for normal LEDs (not blue=20 > or white), but depends on batch, temperature, etc. Your=20 > method connects a fixed 2V to the LED, which is a bad idea. >=20 Whoops. I forgot to mention the current limiting resistor: +3V -- LED -> -- 40 ohm -- PIC Alex -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu