Corrected: > > > > 3.3v 3.3V > > o o > > | | > > .-. .-. > > 10K | | | | 10K > > | | | | > > '-' '-' > > | | > > | | > > | --- > > o-+----/ v-------o 0/5v in > > > > 0/3.3v out > > > > > > Only disadvantage I see is that it requires access to (and draws > > current from) the 3.3V supply (or you could create a local 3.3V supply > > from the 5V supply, but that would add at least one part. > > >This I disagree with. I think the base of the transistor should also be at >3.3V for correct operation. Yes, you're absolutely right, of course. mea culpa. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads