DPRG
DPRG List  



[DPRG] bot won't stop (sometimes)

Subject: [DPRG] bot won't stop (sometimes)
From: Sheila Doyle srdoyle at earthlink.net
Date: Thu Nov 16 19:02:50 CST 2006

I am trying to write in BasicStamp and have this to make the motors run a short time.

' {$STAMP BS2}
' {$PBASIC 2.5}

DEBUG "PRGM RUNNING"

counter   VAR   Word

FOR counter = 1 TO 10

  PULSOUT 13, 850
  PULSOUT 12, 650
  PAUSE 200

NEXT

END

Both motors make 10 short bursts.  
But if I shorten the pause to 20, they keep on running.

Clues?  Hints?


Sheila Doyle
srdoyle at earthlink.net
Why Wait? Move to EarthLink.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dprg.org/pipermail/dprglist/attachments/20061116/de748078/attachment.html

More information about the DPRG mailing list

Copyright © 1984 - 2006 Dallas Personal Robotics Group. All rights reserved.
Website Design by NCC

For the latest robot news visit robots.net