At 09:10 AM 2/4/02 -0600, Lawrence Lile wrote: >Roman, > >Josh and I are in the same boat, so to speak. We are trying to drive the >dual LED with just one pin, on the cheap. Does it have to be a dual LED? How about 2 separate LEDs? If you can get away with separate LEDs, how about pic pin------------+ A K | A K 5V---res1--+---LED---+---LED---+---res2--GND | | +-------res3--------+ The LEDs are in series. Res1 determines LED brightness of left hand LED when PIC pin is LO. Res2 etermines brightness of right hand LED when PIC pin is HI. Res3 keeps the voltage across the LEDs low enough so that they don't light when PIC pin is tri-stated. This is similar to the mid-point drive solution posted earlier but consumes MUCH less quiescent current. dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 18 years of Engineering Innovation (1984 - 2002) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu