In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kingneb wrote: That program PWM's from zero to 255. I am doing ten speeds, so the counter has to increment about 255 / 10. Probably a better way of doing it. What is the __PARAMCNT variable used for? Does __PARAM1 and 2 mean the first and second parameter? Does WAIT_US SUB 1, 2 mean declare a sub routine that works with two parameters? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91326 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)