At 05:09 PM 5/3/2010, you wrote: >Only tested at room temperature, but working OK for approx. 5 years. > >R2 (100K) may be adjusted to compensate for leakage. It's fine (< 100mV |Vbe| worst case), but you might want a resistor from Vcc to GND. 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 PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist