Wouter, On Wed, 26 Jan 2005 13:36:32 +0100, Wouter van Ooijen wrote: > Engineering is always choosing the least evil :) Indeed - I was just mentioning the possible evil element of this! :-) I didn't want any of the "one size fits all" brigade to start advocating your solution as The Way to do it in every situation. > If you know a pin will be low most of the time you can change the > pull-up to a pull-down (maybe with slightly less performance from the > PICs high-side output FET). Or you can raise the resistor value if you > can tolerate the raise time (or fall with a pull-down). Or switch-in an > extra R for the time you need fast operation. Or think of yet something > else. Quite! :-))) Cheers, Howard Winter St.Albans, England -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist