In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: The PWM instruction runs inline, which means its output stops when moving on to the next instruction (this command is best used for charging caps in DAC circuits) -- to keep motors running at a fixed speed you're going to need an interrupt-driven approach. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=310134#m310143 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)