On Thu, Apr 22, 2004 at 05:14:50PM +0100, Michael Rigby-Jones wrote: > Even easier is to drive one side of the LED and a CMOS inverter input with > the PIC pin, and the other side of the LED with the inverter output. The > above solution may be ok, but you are limiting your forward voltage to > 2.5volts for a 5v supply rail which may be marginal for some LED's > > |\ > ---+ +-----+ |0-------------+ > | | |/ | > | | | > |----+----+-|>|-+---/\/\/---+ > | | | > | +-|<|-+ > PIC| LED > | > ---+ > > > Regards > > Mike The only problem I see is packaging. You can get opamps two in a 8 pin package no problem. Not sure about inverters. BAJ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.