From: "yamanoor sairam" Hello All, >I am trying to control a servo motor using a PIC12F675 with a toggle=20 >switch. When the switch is one state, the servo goes forward and the other= =20 >state, the motor goes reverse. You may have a misconception about how servomotors work. The do not "spin"= =20 (unless modified, but that is another story). What they do is move to a new= =20 position based on the pulse width supplied. Once in that new position=20 they'll stay put (with some possible jitter) until the pulse width is=20 changed. -- Bob Ammerman RAm Systems --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .