This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C255F0.DAB1E9C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > > I have a simple BI-COLOR LED from radioshack (#276-207) If you go to Radioshack's site (www.radioshack.com) and search for 276207 you'll find the LED's page. It doesn't actually show that LED, but the "Schematic" link takes you to a page which has a very scruffy gif on it. As far as I can make out, this is the wiring of the LED. It's a common anode type which, as David says, you wire the middle pin (2) to 5V and then 1 and 3 go to a PIC pin each through a resistor each. I've just wired up some common cathode bi-colours and found that the red needed 680 ohms in series to match brightness with the green, which has 390 ohms in series. As yours is a common anode type, the PIC pins need to sink the current (ie you send the pin low to complete the circuit) whereas my common cathode types need the middle pin at 0V and the PIC pins go high to source the LED current. PICs (and many digital ICs) can sink more current than they can source, and a load such as LEDs works better on the "high" side of the PIC, that is, between the PIC pin and 5V ------=_NextPart_000_0016_01C255F0.DAB1E9C0 Content-Type: image/gif; name="bc-led.gif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bc-led.gif" R0lGODlhdQA0APcAAAAAAP////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////ywAAAAAdQA0AAAI/gADCBxI sKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjxcBiARJsiTEkSZTqiwIIEDLlTBNvnSJMqZN jTMF1rzJk2JOl0B7Cg2pc6jRiT+PKm2YlCnDn00Tity51CJVhDOjYiWolSfVrlyDLsz6MCnYmFPJ lnXY8mzYqgbTjnQ7kG7bkzfl6t3Lty/LtXh1TpVZVq5Yp2yxXjVLmO3gooARR67bmCnUwJIna01L dCXdw4WvUh7tE67NzwdRm8ao+u9qzxVFv/aYs6/t1rMj4ua6O3fm2L4/9nYdfKNeq54fKzz+O+Vw zWOJLz9dWPrk1Na3og2tVnf0tzRrZt/d7pgzauVSXat9KZvk7ffvtUs1DDlo99XHcYO9T/++ac71 YSafWIwF+N9lme0H3nqkFacbegMSuBOAwT3noHsXvsZehkJdZiGHwPEGYod1tTeic6Cd6NWHKsZm YoswxijjjEoFBAA7 ------=_NextPart_000_0016_01C255F0.DAB1E9C0-- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.