Connect two 330 ohms in series; the other ends of each go to +5 and ground. Connect your bi-colour between the common point of the resistors and your PIC output. You might need to tweak the values to get uniform intensity on both colours. Regards, Anand Dhuru ----- Original Message ----- From: "Matt Redmond" To: Sent: Thursday, April 22, 2004 3:34 AM Subject: [EE]: Drive bicolor LED w/ one output pin > Hi All, > > My basic EE skills are lacking so I was hoping someone might suggest a solution to this... > > I have a bicolor LED - one of the 2-lead types where the green anode is the red cathode and vice-versa. You reverse polarity to change colors. > > What I need to do is drive this with one output pin on my PIC. I swear I'd do it with two if I had them, but I don't. > > The green can be on all the time except when the red comes on. So - steady green and then red when my output goes high (or low). > > Any thoughts? > > Thanks! > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics