In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lmolter wrote: Jon, I thought something was amiss because I stuck a LED on the motor port and it lit up once and never went out. The new code works as I expected it should. And thanks for the explanation. I'll stare at the code a little and try to figure out how to integrate the footswitch (on my own ). By running at 4MHz instead of 20, the ISR is still run 153000 times per second, but all the other timing is off, right? The one second pauses are now 5 seconds (of course). So did the pwm frequency go down to 100Hz then? Doesn't really matter, I guess. And I think I'm getting a scope on Monday (a real Tektronix (sp?), not a usb). That'll help me make sense of it all. Thanks again, Larry ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=258538#m259314 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)