At 04:03 AM 1/27/2011, Djula Djarmati wrote: >On 27-Jan-11 06:52, PICdude wrote: > >Depending on your schematics a passive solution could work. (see attached)= .. > >Djula Non-obvious but works well: replace one of the diodes with the=20 resistor used as the pull-up. Eliminates one component. dwayne --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .