Quoting Brent Brown : > > Another option is to use a fixed resistor, and that may suit your =20 > needs perfectly > well... limits the maximum current at all times. The danger with limiting current is you may end up with a bistable system- one of the stable states being stalled with most of the voltage across the resistor. Depending on what's connected to the shaft.. --sp --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .