Richard Seriani, Sr. wrote: > Would it have been > more correct to write, "you MAY have to set that pin low (clear it)..."? The correct statement whould have been : "You *never* have to set the pin to anything before switching it into an input pin." It just doesn't matter. Well, if one deesn't have a quite bad design... :-) > Without seeing the schematic or code, would this not be one possible > solution to the original poster's problem? But if so, the "problem" is in the *design*. Not in the code. > Other possibilities that came to mind were lack of a pull-down resistor Of course ! *Now* we are talking "solutions" ! :-) Best Regards, Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist