Russell , Thanks for your replay. at this point I inverted externally using logic gate single transistor is good idea too. andre Russell McMahon wrote: > Probably not I'd say. > BUT > To do it in software probably costs very little. > single NPN small signal transistor, emitter to ground. > 10k resistor from output pin to transistor base. > Resistor (size depends on drive required - 1k to 10K probably) from > collector to Vcc. > Output from collector. >