Shop OBEX P1 Docs P2 Docs Learn Events
newbie confusion — Parallax Forums

newbie confusion

GlenGlen Posts: 13
edited 2005-01-27 20:56 in Robotics
When I complete any of the "activities" in the Robotics with BoeBot, the led continues to blink.
Do I need an "end" statement? or what am I missing?
Thank you all for your patience
Glen

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-01-27 19:27
    Try putting something like this at the end of your programs:

    Finished:
       GOTO Finished
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Knight Designs
    324 West Main Street
    P.O. Box 97
    Montour Falls, NY 14865
    (607) 535-6777

    Business Page:·· http://www.knightdesigns.com
    Personal Page:··· http://www.lightlink.com/dream/chris
    Designs Page:··· http://www.lightlink.com/dream/designs
    ·
  • GlenGlen Posts: 13
    edited 2005-01-27 20:14
    Chris, As always thanks for such a prompt and helpful reply. Will try this on weekend and let you know.
    Have a good one.
  • achilles03achilles03 Posts: 247
    edited 2005-01-27 20:49
    Isn't there also an "END" command?

    Dave
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-01-27 20:56
    END puts the BASIC Stamp into low-power mode and the internal watchdog will cause it to reset every 2.3 ms, hence the blink. You can terminate a program as Chris suggests above, or use STOP.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.