Shop OBEX P1 Docs P2 Docs Learn Events
DO...LOOP - What am I missing here? — Parallax Forums

DO...LOOP - What am I missing here?

ArchiverArchiver Posts: 46,084
edited 2004-02-17 13:20 in General Discussion
I just started...I have the Radio Shack version of "What's a
Microcontroller?" and a homework board with on board BS2.
Page 51 shows a simple program for flashing the led...
It uses a DO command and a LOOP command.
It does not work.
What is up with this?
I can't find these commands in the Programming Manual, or in the
index of the "What's a microcontroller?" manual.
Are these commands obsolete, changed, or am I stupid? Please email
me if you have a clue what is wrong here.
faxondad@y...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-02-17 04:20
    Go to the Parallax website www.parallax.com and update your software. You
    want the current version of PBasic 2.5. It's listed as a "beta test"
    version, but that is just modesty. Download it and you'll find a lot of
    improvements, including a language and processor manual under the help
    button that is fully up to date and with many improved explanations from the
    original as well.

    Definitely worth the trouble. And that's where you'll find DO loops
    explained.

    Gary

    Original Message
    From: "faxondad" <faxondad@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, February 16, 2004 7:53 PM
    Subject: [noparse][[/noparse]basicstamps] DO...LOOP - What am I missing here?


    > I just started...I have the Radio Shack version of "What's a
    > Microcontroller?" and a homework board with on board BS2.
    > Page 51 shows a simple program for flashing the led...
    > It uses a DO command and a LOOP command.
    > It does not work.
    > What is up with this?
    > I can't find these commands in the Programming Manual, or in the
    > index of the "What's a microcontroller?" manual.
    > Are these commands obsolete, changed, or am I stupid? Please email
    > me if you have a clue what is wrong here.
    > faxondad@y...
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-17 13:20
    DO..LOOP is new to PBASIC and in the compiler help file. We are in the
    process of updating the manual now and you'll be able to download it
    shortly. The help file will always be the most current information
    since it's the easiest to update and distribute. Make sure that you're
    running Version 2.1 of our editor to have the latest.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: faxondad [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=7A5t3bELxMIkRVw-us6ke1mgNmLbPPM9kVhdE6C-Mxq_R_zjNu2oGb4HMgxTW_S7ChAkzZrsc8lfBg0]faxondad@y...[/url
    Sent: Monday, February 16, 2004 9:53 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] DO...LOOP - What am I missing here?


    I just started...I have the Radio Shack version of "What's a
    Microcontroller?" and a homework board with on board BS2.
    Page 51 shows a simple program for flashing the led...
    It uses a DO command and a LOOP command.
    It does not work.
    What is up with this?
    I can't find these commands in the Programming Manual, or in the
    index of the "What's a microcontroller?" manual.
    Are these commands obsolete, changed, or am I stupid? Please email
    me if you have a clue what is wrong here.
    faxondad@y...
Sign In or Register to comment.