Sorry, it's now obvious. RP On 17/03/2008, Jinx wrote: > > > Shouldn't the 10k resistor be to the +ve line? As shown, there's > > nothing to turn the transistor on. > > Don't forget the sensor has a pull-up > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist