Shop OBEX P1 Docs P2 Docs Learn Events
fustrated beginer, easy loop question-SOLVED — Parallax Forums

fustrated beginer, easy loop question-SOLVED

ArchiverArchiver Posts: 46,084
edited 2003-12-31 23:35 in General Discussion
This is "Electrajim"

I finally found the solution to this problem.
I havn't had much time to experiment due to the holidays,
but today, I found why this didn't work, and now it does.

....your gonna laugh.....

I unplugged the serial cable so I could try programming
the Homework Board on another PC. A tower instead of a laptop PC
Useing the same BASIC stamp editor v2.1.

Since the last program I ran was below, once I unplugged the
serial cable, IT BLINKS, AND IN A LOOP! perfect, no problems.

NOW. Am I an idiot or what? The first excercises use DEBUG
statements, and NEED to have this Homework Board plugged in!!
Was I to assume that the wired projects needed to be unplugged
BEFORE they work and run the code?
Why is this, and what did I miss?
Another power saving feature?

Thanks to all for your input.

Jim

--- In basicstamps@yahoogroups.com, Electragn@h... wrote:
> Please help a frustrated beginer.
> I just got a Parallax BASIC Stamp HomeWork Board, and
> I can't even get thru Chapter #2!!
>
> Why in the heck won't this thing LOOP! All it does is
> 14 goes "high" for just a second or two, then it quits!!
>
> ' Turn LED on and off. Repeat 1 time per second indefinitely.
>
> ' {$STAMP BS2}
> ' {$PBASIC 2.5}
>
> DO
>
> HIGH 14
> PAUSE 500
> LOW 14
> PAUSE 500
>
> LOOP
>
>
> I know this seems real simple, but whats wrong?!?!?!?!
>
> Thanks to all
> Electrajim

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-28 23:35
    You seem to have proved what a few of us suspected: you have a funky
    serial port on your laptop. We've seen this before, but the issue is
    usually fixed by reducing the port FIFO buffers to minimum settings, or
    if that doesn't work, putting an extra DEBUG statement into the program
    so that the compiler DEBUG window keeps the port open (and from powering
    down which usually is the source of the problem). What you didn't say
    is if you could download and run non-DEBUG programs on your tower PC.
    That would be the final confirmation.

    As far as staying connected, you only need to be connected for
    downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC 2.5),
    SEROUT on pin 16, or SERIN on pin 16.

    Hopefully now you'll be able to continue working through your WAM text
    and start having some real fun.

    Happy New Year!

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


    Original Message
    From: Electragn@h... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=FQLfM08zlIEVvU6muo0Q4qfWCRBfsRuTUKXmJVQmTeg4EWVZYwMQ0WuyBfT-iQj8IZqU_1xbrLGGkrQTlEMgMA]Electragn@h...[/url
    Sent: Sunday, December 28, 2003 5:16 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-SOLVED


    This is "Electrajim"

    I finally found the solution to this problem.
    I havn't had much time to experiment due to the holidays,
    but today, I found why this didn't work, and now it does.

    ....your gonna laugh.....

    I unplugged the serial cable so I could try programming
    the Homework Board on another PC. A tower instead of a laptop PC Useing
    the same BASIC stamp editor v2.1.

    Since the last program I ran was below, once I unplugged the serial
    cable, IT BLINKS, AND IN A LOOP! perfect, no problems.

    NOW. Am I an idiot or what? The first excercises use DEBUG statements,
    and NEED to have this Homework Board plugged in!! Was I to assume that
    the wired projects needed to be unplugged BEFORE they work and run the
    code? Why is this, and what did I miss? Another power saving feature?

    Thanks to all for your input.

    Jim

    --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > Please help a frustrated beginer.
    > I just got a Parallax BASIC Stamp HomeWork Board, and
    > I can't even get thru Chapter #2!!
    >
    > Why in the heck won't this thing LOOP! All it does is
    > 14 goes "high" for just a second or two, then it quits!!
    >
    > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    >
    > ' {$STAMP BS2}
    > ' {$PBASIC 2.5}
    >
    > DO
    >
    > HIGH 14
    > PAUSE 500
    > LOW 14
    > PAUSE 500
    >
    > LOOP
    >
    >
    > I know this seems real simple, but whats wrong?!?!?!?!
    >
    > Thanks to all
    > Electrajim


    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

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 18:18
    I just recently purchased my HomeWork Board from RadioShack and have
    the identical problem, however reducing or turning off FIFO to COM 1
    doesn't solve the problem. Disconnecting the HomeWork Board from
    the serial port after downloading the DO/LOOP program also doesn't
    work.

    The Board does however execute the FOR counter correctly.

    Hmmmmm????

    Fred


    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > You seem to have proved what a few of us suspected: you have a
    funky
    > serial port on your laptop. We've seen this before, but the issue
    is
    > usually fixed by reducing the port FIFO buffers to minimum
    settings, or
    > if that doesn't work, putting an extra DEBUG statement into the
    program
    > so that the compiler DEBUG window keeps the port open (and from
    powering
    > down which usually is the source of the problem). What you didn't
    say
    > is if you could download and run non-DEBUG programs on your tower
    PC.
    > That would be the final confirmation.
    >
    > As far as staying connected, you only need to be connected for
    > downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC
    2.5),
    > SEROUT on pin 16, or SERIN on pin 16.
    >
    > Hopefully now you'll be able to continue working through your WAM
    text
    > and start having some real fun.
    >
    > Happy New Year!
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Electragn@h... [noparse][[/noparse]mailto:Electragn@h...]
    > Sent: Sunday, December 28, 2003 5:16 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    SOLVED
    >
    >
    > This is "Electrajim"
    >
    > I finally found the solution to this problem.
    > I havn't had much time to experiment due to the holidays,
    > but today, I found why this didn't work, and now it does.
    >
    > ....your gonna laugh.....
    >
    > I unplugged the serial cable so I could try programming
    > the Homework Board on another PC. A tower instead of a laptop PC
    Useing
    > the same BASIC stamp editor v2.1.
    >
    > Since the last program I ran was below, once I unplugged the serial
    > cable, IT BLINKS, AND IN A LOOP! perfect, no problems.
    >
    > NOW. Am I an idiot or what? The first excercises use DEBUG
    statements,
    > and NEED to have this Homework Board plugged in!! Was I to assume
    that
    > the wired projects needed to be unplugged BEFORE they work and run
    the
    > code? Why is this, and what did I miss? Another power saving
    feature?
    >
    > Thanks to all for your input.
    >
    > Jim
    >
    > --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > > Please help a frustrated beginer.
    > > I just got a Parallax BASIC Stamp HomeWork Board, and
    > > I can't even get thru Chapter #2!!
    > >
    > > Why in the heck won't this thing LOOP! All it does is
    > > 14 goes "high" for just a second or two, then it quits!!
    > >
    > > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    > >
    > > ' {$STAMP BS2}
    > > ' {$PBASIC 2.5}
    > >
    > > DO
    > >
    > > HIGH 14
    > > PAUSE 500
    > > LOW 14
    > > PAUSE 500
    > >
    > > LOOP
    > >
    > >
    > > I know this seems real simple, but whats wrong?!?!?!?!
    > >
    > > Thanks to all
    > > Electrajim
    >
    >
    > 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
    >
    > To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    > To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    > Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 19:14
    If you haven't already, please download the latest version of our
    compiler. You need to have a newer compiler (at least Version 2.0, the
    latest avaiable is Version 2.1, Beta 1) to support the {$PBASIC 2.5}
    directive required for DO-LOOP.

    http://www.parallax.com/html_pages/downloads/software/software_basic_sta
    mp.asp

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


    Original Message
    From: vegaebh [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=AjddqCFVnT46Mi-_8htZgLOeOJ0nFEKpUJIoSpO2Masi9OuDkjFr7I8pMaL0zl9RtWc5E1ddqQ]vegaebh@y...[/url
    Sent: Tuesday, December 30, 2003 12:18 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-SOLVED


    I just recently purchased my HomeWork Board from RadioShack and have
    the identical problem, however reducing or turning off FIFO to COM 1
    doesn't solve the problem. Disconnecting the HomeWork Board from
    the serial port after downloading the DO/LOOP program also doesn't
    work.

    The Board does however execute the FOR counter correctly.

    Hmmmmm????

    Fred


    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > You seem to have proved what a few of us suspected: you have a
    funky
    > serial port on your laptop. We've seen this before, but the issue
    is
    > usually fixed by reducing the port FIFO buffers to minimum
    settings, or
    > if that doesn't work, putting an extra DEBUG statement into the
    program
    > so that the compiler DEBUG window keeps the port open (and from
    powering
    > down which usually is the source of the problem). What you didn't
    say
    > is if you could download and run non-DEBUG programs on your tower
    PC.
    > That would be the final confirmation.
    >
    > As far as staying connected, you only need to be connected for
    > downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC
    2.5),
    > SEROUT on pin 16, or SERIN on pin 16.
    >
    > Hopefully now you'll be able to continue working through your WAM
    text
    > and start having some real fun.
    >
    > Happy New Year!
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Electragn@h... [noparse][[/noparse]mailto:Electragn@h...]
    > Sent: Sunday, December 28, 2003 5:16 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    SOLVED
    >
    >
    > This is "Electrajim"
    >
    > I finally found the solution to this problem.
    > I havn't had much time to experiment due to the holidays,
    > but today, I found why this didn't work, and now it does.
    >
    > ....your gonna laugh.....
    >
    > I unplugged the serial cable so I could try programming
    > the Homework Board on another PC. A tower instead of a laptop PC
    Useing
    > the same BASIC stamp editor v2.1.
    >
    > Since the last program I ran was below, once I unplugged the serial
    > cable, IT BLINKS, AND IN A LOOP! perfect, no problems.
    >
    > NOW. Am I an idiot or what? The first excercises use DEBUG
    statements,
    > and NEED to have this Homework Board plugged in!! Was I to assume
    that
    > the wired projects needed to be unplugged BEFORE they work and run
    the
    > code? Why is this, and what did I miss? Another power saving
    feature?
    >
    > Thanks to all for your input.
    >
    > Jim
    >
    > --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > > Please help a frustrated beginer.
    > > I just got a Parallax BASIC Stamp HomeWork Board, and
    > > I can't even get thru Chapter #2!!
    > >
    > > Why in the heck won't this thing LOOP! All it does is
    > > 14 goes "high" for just a second or two, then it quits!!
    > >
    > > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    > >
    > > ' {$STAMP BS2}
    > > ' {$PBASIC 2.5}
    > >
    > > DO
    > >
    > > HIGH 14
    > > PAUSE 500
    > > LOW 14
    > > PAUSE 500
    > >
    > > LOOP
    > >
    > >
    > > I know this seems real simple, but whats wrong?!?!?!?!
    > >
    > > Thanks to all
    > > Electrajim
    >
    >
    > 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
    >
    > To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    > To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    > Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...



    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

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 19:16
    Sorry, Yahoo always seems to break long links. Go to our web page, then
    select Downloads\Basic Stamp Software from the menu bar.

    -- Jon Williams
    -- Parallax


    Original Message
    From: Jon Williams
    Sent: Tuesday, December 30, 2003 1:14 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop
    question-SOLVED


    If you haven't already, please download the latest version of our
    compiler. You need to have a newer compiler (at least Version 2.0, the
    latest avaiable is Version 2.1, Beta 1) to support the {$PBASIC 2.5}
    directive required for DO-LOOP.

    http://www.parallax.com/html_pages/downloads/software/software_basic_sta
    mp.asp

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


    Original Message
    From: vegaebh [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MqJm7Wk6Rcb3BGNY5uH6QEWErv8F3FoXcLCIOD43exFoMbWzSmTYa2EjUEisxQY-F39Tm47Dtrw]vegaebh@y...[/url
    Sent: Tuesday, December 30, 2003 12:18 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-SOLVED


    I just recently purchased my HomeWork Board from RadioShack and have
    the identical problem, however reducing or turning off FIFO to COM 1
    doesn't solve the problem. Disconnecting the HomeWork Board from
    the serial port after downloading the DO/LOOP program also doesn't
    work.

    The Board does however execute the FOR counter correctly.

    Hmmmmm????

    Fred


    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > You seem to have proved what a few of us suspected: you have a
    funky
    > serial port on your laptop. We've seen this before, but the issue
    is
    > usually fixed by reducing the port FIFO buffers to minimum
    settings, or
    > if that doesn't work, putting an extra DEBUG statement into the
    program
    > so that the compiler DEBUG window keeps the port open (and from
    powering
    > down which usually is the source of the problem). What you didn't
    say
    > is if you could download and run non-DEBUG programs on your tower
    PC.
    > That would be the final confirmation.
    >
    > As far as staying connected, you only need to be connected for
    > downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC
    2.5),
    > SEROUT on pin 16, or SERIN on pin 16.
    >
    > Hopefully now you'll be able to continue working through your WAM
    text
    > and start having some real fun.
    >
    > Happy New Year!
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Electragn@h... [noparse][[/noparse]mailto:Electragn@h...]
    > Sent: Sunday, December 28, 2003 5:16 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    SOLVED
    >
    >
    > This is "Electrajim"
    >
    > I finally found the solution to this problem.
    > I havn't had much time to experiment due to the holidays,
    > but today, I found why this didn't work, and now it does.
    >
    > ....your gonna laugh.....
    >
    > I unplugged the serial cable so I could try programming
    > the Homework Board on another PC. A tower instead of a laptop PC
    Useing
    > the same BASIC stamp editor v2.1.
    >
    > Since the last program I ran was below, once I unplugged the serial
    > cable, IT BLINKS, AND IN A LOOP! perfect, no problems.
    >
    > NOW. Am I an idiot or what? The first excercises use DEBUG
    statements,
    > and NEED to have this Homework Board plugged in!! Was I to assume
    that
    > the wired projects needed to be unplugged BEFORE they work and run
    the
    > code? Why is this, and what did I miss? Another power saving
    feature?
    >
    > Thanks to all for your input.
    >
    > Jim
    >
    > --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > > Please help a frustrated beginer.
    > > I just got a Parallax BASIC Stamp HomeWork Board, and
    > > I can't even get thru Chapter #2!!
    > >
    > > Why in the heck won't this thing LOOP! All it does is
    > > 14 goes "high" for just a second or two, then it quits!!
    > >
    > > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    > >
    > > ' {$STAMP BS2}
    > > ' {$PBASIC 2.5}
    > >
    > > DO
    > >
    > > HIGH 14
    > > PAUSE 500
    > > LOW 14
    > > PAUSE 500
    > >
    > > LOOP
    > >
    > >
    > > I know this seems real simple, but whats wrong?!?!?!?!
    > >
    > > Thanks to all
    > > Electrajim
    >
    >
    > 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
    >
    > To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    > To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    > Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...



    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

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....


    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

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 21:11
    Thanks... I had the latest verstion of the editor.. Just didn't
    have the correct directive.. The {$PBASIC 2.5} directive fixed the
    problem..

    Fred



    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > If you haven't already, please download the latest version of our
    > compiler. You need to have a newer compiler (at least Version
    2.0, the
    > latest avaiable is Version 2.1, Beta 1) to support the {$PBASIC
    2.5}
    > directive required for DO-LOOP.
    >
    >
    http://www.parallax.com/html_pages/downloads/software/software_basic_
    sta
    > mp.asp
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: vegaebh [noparse][[/noparse]mailto:vegaebh@y...]
    > Sent: Tuesday, December 30, 2003 12:18 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    SOLVED
    >
    >
    > I just recently purchased my HomeWork Board from RadioShack and
    have
    > the identical problem, however reducing or turning off FIFO to COM
    1
    > doesn't solve the problem. Disconnecting the HomeWork Board from
    > the serial port after downloading the DO/LOOP program also doesn't
    > work.
    >
    > The Board does however execute the FOR counter correctly.
    >
    > Hmmmmm????
    >
    > Fred
    >
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams"
    <jwilliams@p...>
    > wrote:
    > > You seem to have proved what a few of us suspected: you have a
    > funky
    > > serial port on your laptop. We've seen this before, but the
    issue
    > is
    > > usually fixed by reducing the port FIFO buffers to minimum
    > settings, or
    > > if that doesn't work, putting an extra DEBUG statement into the
    > program
    > > so that the compiler DEBUG window keeps the port open (and from
    > powering
    > > down which usually is the source of the problem). What you
    didn't
    > say
    > > is if you could download and run non-DEBUG programs on your tower
    > PC.
    > > That would be the final confirmation.
    > >
    > > As far as staying connected, you only need to be connected for
    > > downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC
    > 2.5),
    > > SEROUT on pin 16, or SERIN on pin 16.
    > >
    > > Hopefully now you'll be able to continue working through your WAM
    > text
    > > and start having some real fun.
    > >
    > > Happy New Year!
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: Electragn@h... [noparse][[/noparse]mailto:Electragn@h...]
    > > Sent: Sunday, December 28, 2003 5:16 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    > SOLVED
    > >
    > >
    > > This is "Electrajim"
    > >
    > > I finally found the solution to this problem.
    > > I havn't had much time to experiment due to the holidays,
    > > but today, I found why this didn't work, and now it does.
    > >
    > > ....your gonna laugh.....
    > >
    > > I unplugged the serial cable so I could try programming
    > > the Homework Board on another PC. A tower instead of a laptop PC
    > Useing
    > > the same BASIC stamp editor v2.1.
    > >
    > > Since the last program I ran was below, once I unplugged the
    serial
    > > cable, IT BLINKS, AND IN A LOOP! perfect, no problems.
    > >
    > > NOW. Am I an idiot or what? The first excercises use DEBUG
    > statements,
    > > and NEED to have this Homework Board plugged in!! Was I to assume
    > that
    > > the wired projects needed to be unplugged BEFORE they work and
    run
    > the
    > > code? Why is this, and what did I miss? Another power saving
    > feature?
    > >
    > > Thanks to all for your input.
    > >
    > > Jim
    > >
    > > --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > > > Please help a frustrated beginer.
    > > > I just got a Parallax BASIC Stamp HomeWork Board, and
    > > > I can't even get thru Chapter #2!!
    > > >
    > > > Why in the heck won't this thing LOOP! All it does is
    > > > 14 goes "high" for just a second or two, then it quits!!
    > > >
    > > > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    > > >
    > > > ' {$STAMP BS2}
    > > > ' {$PBASIC 2.5}
    > > >
    > > > DO
    > > >
    > > > HIGH 14
    > > > PAUSE 500
    > > > LOW 14
    > > > PAUSE 500
    > > >
    > > > LOOP
    > > >
    > > >
    > > > I know this seems real simple, but whats wrong?!?!?!?!
    > > >
    > > > Thanks to all
    > > > Electrajim
    > >
    > >
    > > 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
    > >
    > > To visit your group on the web, go to:
    > > http://groups.yahoo.com/group/basicstamps/
    > >
    > > To unsubscribe from this group, send an email to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >
    > > Your use of Yahoo! Groups is subject to:
    > > http://docs.yahoo.com/info/terms/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM
    to
    > > abuse@p...
    >
    >
    >
    > 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
    >
    > To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    > To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    > Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-31 17:01
    I need to be a bit more specific when I say the correct directive
    fixed the problem.. I accidently used parenthesis () instead of
    brackets {} around the "$PBASIC 2.5" directive.. After looking at
    the manual with my handy magnifying glass I saw the mistake.. Just
    goes to show that you always have to watch the small print!

    Fred




    --- In basicstamps@yahoogroups.com, "vegaebh" <vegaebh@y...> wrote:
    > Thanks... I had the latest verstion of the editor.. Just didn't
    > have the correct directive.. The {$PBASIC 2.5} directive fixed
    the
    > problem..
    >
    > Fred
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams"
    <jwilliams@p...>
    > wrote:
    > > If you haven't already, please download the latest version of our
    > > compiler. You need to have a newer compiler (at least Version
    > 2.0, the
    > > latest avaiable is Version 2.1, Beta 1) to support the {$PBASIC
    > 2.5}
    > > directive required for DO-LOOP.
    > >
    > >
    >
    http://www.parallax.com/html_pages/downloads/software/software_basic_
    > sta
    > > mp.asp
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: vegaebh [noparse][[/noparse]mailto:vegaebh@y...]
    > > Sent: Tuesday, December 30, 2003 12:18 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    > SOLVED
    > >
    > >
    > > I just recently purchased my HomeWork Board from RadioShack and
    > have
    > > the identical problem, however reducing or turning off FIFO to
    COM
    > 1
    > > doesn't solve the problem. Disconnecting the HomeWork Board
    from
    > > the serial port after downloading the DO/LOOP program also
    doesn't
    > > work.
    > >
    > > The Board does however execute the FOR counter correctly.
    > >
    > > Hmmmmm????
    > >
    > > Fred
    > >
    > >
    > > --- In basicstamps@yahoogroups.com, "Jon Williams"
    > <jwilliams@p...>
    > > wrote:
    > > > You seem to have proved what a few of us suspected: you have a
    > > funky
    > > > serial port on your laptop. We've seen this before, but the
    > issue
    > > is
    > > > usually fixed by reducing the port FIFO buffers to minimum
    > > settings, or
    > > > if that doesn't work, putting an extra DEBUG statement into the
    > > program
    > > > so that the compiler DEBUG window keeps the port open (and from
    > > powering
    > > > down which usually is the source of the problem). What you
    > didn't
    > > say
    > > > is if you could download and run non-DEBUG programs on your
    tower
    > > PC.
    > > > That would be the final confirmation.
    > > >
    > > > As far as staying connected, you only need to be connected for
    > > > downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC
    > > 2.5),
    > > > SEROUT on pin 16, or SERIN on pin 16.
    > > >
    > > > Hopefully now you'll be able to continue working through your
    WAM
    > > text
    > > > and start having some real fun.
    > > >
    > > > Happy New Year!
    > > >
    > > > -- Jon Williams
    > > > -- Applications Engineer, Parallax
    > > > -- Dallas Office
    > > >
    > > >
    > > >
    Original Message
    > > > From: Electragn@h... [noparse][[/noparse]mailto:Electragn@h...]
    > > > Sent: Sunday, December 28, 2003 5:16 PM
    > > > To: basicstamps@yahoogroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop
    question-
    > > SOLVED
    > > >
    > > >
    > > > This is "Electrajim"
    > > >
    > > > I finally found the solution to this problem.
    > > > I havn't had much time to experiment due to the holidays,
    > > > but today, I found why this didn't work, and now it does.
    > > >
    > > > ....your gonna laugh.....
    > > >
    > > > I unplugged the serial cable so I could try programming
    > > > the Homework Board on another PC. A tower instead of a laptop
    PC
    > > Useing
    > > > the same BASIC stamp editor v2.1.
    > > >
    > > > Since the last program I ran was below, once I unplugged the
    > serial
    > > > cable, IT BLINKS, AND IN A LOOP! perfect, no problems.
    > > >
    > > > NOW. Am I an idiot or what? The first excercises use DEBUG
    > > statements,
    > > > and NEED to have this Homework Board plugged in!! Was I to
    assume
    > > that
    > > > the wired projects needed to be unplugged BEFORE they work and
    > run
    > > the
    > > > code? Why is this, and what did I miss? Another power saving
    > > feature?
    > > >
    > > > Thanks to all for your input.
    > > >
    > > > Jim
    > > >
    > > > --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > > > > Please help a frustrated beginer.
    > > > > I just got a Parallax BASIC Stamp HomeWork Board, and
    > > > > I can't even get thru Chapter #2!!
    > > > >
    > > > > Why in the heck won't this thing LOOP! All it does is
    > > > > 14 goes "high" for just a second or two, then it quits!!
    > > > >
    > > > > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    > > > >
    > > > > ' {$STAMP BS2}
    > > > > ' {$PBASIC 2.5}
    > > > >
    > > > > DO
    > > > >
    > > > > HIGH 14
    > > > > PAUSE 500
    > > > > LOW 14
    > > > > PAUSE 500
    > > > >
    > > > > LOOP
    > > > >
    > > > >
    > > > > I know this seems real simple, but whats wrong?!?!?!?!
    > > > >
    > > > > Thanks to all
    > > > > Electrajim
    > > >
    > > >
    > > > 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
    > > >
    > > > To visit your group on the web, go to:
    > > > http://groups.yahoo.com/group/basicstamps/
    > > >
    > > > To unsubscribe from this group, send an email to:
    > > > basicstamps-unsubscribe@yahoogroups.com
    > > >
    > > > Your use of Yahoo! Groups is subject to:
    > > > http://docs.yahoo.com/info/terms/
    > > >
    > > >
    > > >
    > > >
    > > > This message has been scanned by WebShield. Please report SPAM
    > to
    > > > abuse@p...
    > >
    > >
    > >
    > > 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
    > >
    > > To visit your group on the web, go to:
    > > http://groups.yahoo.com/group/basicstamps/
    > >
    > > To unsubscribe from this group, send an email to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >
    > > Your use of Yahoo! Groups is subject to:
    > > http://docs.yahoo.com/info/terms/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-31 23:35
    Yes, indeed. Computers are VERY specific. In fact, someone said there
    is no such thing as a software error since the computer didn't write the
    program itself!

    Keep in mind that there are buttons for Stamp type and PBASIC directives
    on the toolbar. This will prevent typos.

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



    Original Message
    From: vegaebh [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=rU9LihldCBZlAKlfW2I2QcIZkyBIIg6CHQk3f50hZLV06hDDFHIT-uOF6_3TtvlxQejqdgoFiQVf]vegaebh@y...[/url
    Sent: Wednesday, December 31, 2003 11:01 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-SOLVED


    I need to be a bit more specific when I say the correct directive
    fixed the problem.. I accidently used parenthesis () instead of
    brackets {} around the "$PBASIC 2.5" directive.. After looking at
    the manual with my handy magnifying glass I saw the mistake.. Just
    goes to show that you always have to watch the small print!

    Fred




    --- In basicstamps@yahoogroups.com, "vegaebh" <vegaebh@y...> wrote:
    > Thanks... I had the latest verstion of the editor.. Just didn't
    > have the correct directive.. The {$PBASIC 2.5} directive fixed
    the
    > problem..
    >
    > Fred
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams"
    <jwilliams@p...>
    > wrote:
    > > If you haven't already, please download the latest version of our
    > > compiler. You need to have a newer compiler (at least Version
    > 2.0, the
    > > latest avaiable is Version 2.1, Beta 1) to support the {$PBASIC
    > 2.5}
    > > directive required for DO-LOOP.
    > >
    > >
    >
    http://www.parallax.com/html_pages/downloads/software/software_basic_
    > sta
    > > mp.asp
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: vegaebh [noparse][[/noparse]mailto:vegaebh@y...]
    > > Sent: Tuesday, December 30, 2003 12:18 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop question-
    > SOLVED
    > >
    > >
    > > I just recently purchased my HomeWork Board from RadioShack and
    > have
    > > the identical problem, however reducing or turning off FIFO to
    COM
    > 1
    > > doesn't solve the problem. Disconnecting the HomeWork Board
    from
    > > the serial port after downloading the DO/LOOP program also
    doesn't
    > > work.
    > >
    > > The Board does however execute the FOR counter correctly.
    > >
    > > Hmmmmm????
    > >
    > > Fred
    > >
    > >
    > > --- In basicstamps@yahoogroups.com, "Jon Williams"
    > <jwilliams@p...>
    > > wrote:
    > > > You seem to have proved what a few of us suspected: you have a
    > > funky
    > > > serial port on your laptop. We've seen this before, but the
    > issue
    > > is
    > > > usually fixed by reducing the port FIFO buffers to minimum
    > > settings, or
    > > > if that doesn't work, putting an extra DEBUG statement into the
    > > program
    > > > so that the compiler DEBUG window keeps the port open (and from
    > > powering
    > > > down which usually is the source of the problem). What you
    > didn't
    > > say
    > > > is if you could download and run non-DEBUG programs on your
    tower
    > > PC.
    > > > That would be the final confirmation.
    > > >
    > > > As far as staying connected, you only need to be connected for
    > > > downloading (of course), to use DEBUG, DEBUGIN (new to $PBASIC
    > > 2.5),
    > > > SEROUT on pin 16, or SERIN on pin 16.
    > > >
    > > > Hopefully now you'll be able to continue working through your
    WAM
    > > text
    > > > and start having some real fun.
    > > >
    > > > Happy New Year!
    > > >
    > > > -- Jon Williams
    > > > -- Applications Engineer, Parallax
    > > > -- Dallas Office
    > > >
    > > >
    > > >
    Original Message
    > > > From: Electragn@h... [noparse][[/noparse]mailto:Electragn@h...]
    > > > Sent: Sunday, December 28, 2003 5:16 PM
    > > > To: basicstamps@yahoogroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] Re: fustrated beginer, easy loop
    question-
    > > SOLVED
    > > >
    > > >
    > > > This is "Electrajim"
    > > >
    > > > I finally found the solution to this problem.
    > > > I havn't had much time to experiment due to the holidays, but
    > > > today, I found why this didn't work, and now it does.
    > > >
    > > > ....your gonna laugh.....
    > > >
    > > > I unplugged the serial cable so I could try programming the
    > > > Homework Board on another PC. A tower instead of a laptop
    PC
    > > Useing
    > > > the same BASIC stamp editor v2.1.
    > > >
    > > > Since the last program I ran was below, once I unplugged the
    > serial
    > > > cable, IT BLINKS, AND IN A LOOP! perfect, no problems.
    > > >
    > > > NOW. Am I an idiot or what? The first excercises use DEBUG
    > > statements,
    > > > and NEED to have this Homework Board plugged in!! Was I to
    assume
    > > that
    > > > the wired projects needed to be unplugged BEFORE they work and
    > run
    > > the
    > > > code? Why is this, and what did I miss? Another power saving
    > > feature?
    > > >
    > > > Thanks to all for your input.
    > > >
    > > > Jim
    > > >
    > > > --- In basicstamps@yahoogroups.com, Electragn@h... wrote:
    > > > > Please help a frustrated beginer.
    > > > > I just got a Parallax BASIC Stamp HomeWork Board, and
    > > > > I can't even get thru Chapter #2!!
    > > > >
    > > > > Why in the heck won't this thing LOOP! All it does is 14 goes
    > > > > "high" for just a second or two, then it quits!!
    > > > >
    > > > > ' Turn LED on and off. Repeat 1 time per second indefinitely.
    > > > >
    > > > > ' {$STAMP BS2}
    > > > > ' {$PBASIC 2.5}
    > > > >
    > > > > DO
    > > > >
    > > > > HIGH 14
    > > > > PAUSE 500
    > > > > LOW 14
    > > > > PAUSE 500
    > > > >
    > > > > LOOP
    > > > >
    > > > >
    > > > > I know this seems real simple, but whats wrong?!?!?!?!
    > > > >
    > > > > Thanks to all
    > > > > Electrajim
    > > >
    > > >
    > > > 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
    > > >
    > > > To visit your group on the web, go to:
    > > > http://groups.yahoo.com/group/basicstamps/
    > > >
    > > > To unsubscribe from this group, send an email to:
    > > > basicstamps-unsubscribe@yahoogroups.com
    > > >
    > > > Your use of Yahoo! Groups is subject to:
    > > > http://docs.yahoo.com/info/terms/
    > > >
    > > >
    > > >
    > > >
    > > > This message has been scanned by WebShield. Please report SPAM
    > to
    > > > abuse@p...
    > >
    > >
    > >
    > > 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
    > >
    > > To visit your group on the web, go to:
    > > http://groups.yahoo.com/group/basicstamps/
    > >
    > > To unsubscribe from this group, send an email to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >
    > > Your use of Yahoo! Groups is subject to:
    > > http://docs.yahoo.com/info/terms/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...


    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

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
Sign In or Register to comment.