In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Well the problem I see is that the FORWARD routine takes 32 seconds, so the row increase is only going to happen once every 32 seconds instead of 2500 times a second. I would try putting the "INC Row" in the Delay_MS routine by making a loop instead of one big pause. Something like: SUB DELAY_MS IF __PARAMCNT = 1 THEN ' byte parameter? tmpW1 = __PARAM1 ELSE tmpW1 = __WPARAM12 ENDIF DO PAUSE 1 INC Row ' Since Row is RA there are only 4 bits anyway, so no need to limit the value DEC tmpW1 LOOP UNTIL tmpW1 = 0 ENDSUB Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=273480#m274974 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)