In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: For failsafe operation, the sense circuit should prevent the PWM signal from getting to the motor driver. In otherwords, a hardware failsafe. Software is much more likely to fail (hang, etc) than hardware. Also the SX/B (and the BS2) PWM command is not meant for motor control. This is because it is not a single pulse for each duration. It is a series of pulses designed to be converted to an analog voltage. If you are using the SX48 your best bet would be to use the hardware timers to generate the PWM. Then it WILL be appropiate for a motor controller. Plus to can "set it and forget it" because the hardware timers operate on their own. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=145994#m146028 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)