Shop OBEX P1 Docs P2 Docs Learn Events
Serial data with flow control help — Parallax Forums

Serial data with flow control help

ArchiverArchiver Posts: 46,084
edited 2003-01-01 17:40 in General Discussion
Happy Newyear!!

I have been trying to get serial comms with flow control to work
between two BS2E's.

I got the program from the manual to work, so then proceded to add
it to my own program, which didn't work.

so i went back to the manual example and tried to get it to work
again, and guess what, I couldn't get it to go!!

OK so in case I have blown something up, I have tested each stamps
I/O functions for the pins concerned. Each stamp can output a high
on each pin, and each stamp can detect a high on each pin. I then
tested the serial out to a LCD on each pin and it works just fine.

I simply can't work out what is going on. Can anyone suggest
anything else I should be looking at?

Regards,

Dwain.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-01-01 05:16
    You need to post your code. Asking what's wrong with it without showing code
    is a lot like asking "My car won't run, whats wrong with it" at a cocktail
    party. Nothing to go on [noparse]:D[/noparse]

    Original Message
    From: <dwainsworld@e...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, December 31, 2002 7:48 PM
    Subject: [noparse][[/noparse]basicstamps] Serial data with flow control help


    > Happy Newyear!!
    >
    > I have been trying to get serial comms with flow control to work
    > between two BS2E's.
    >
    > I got the program from the manual to work, so then proceded to add
    > it to my own program, which didn't work.
    >
    > so i went back to the manual example and tried to get it to work
    > again, and guess what, I couldn't get it to go!!
    >
    > OK so in case I have blown something up, I have tested each stamps
    > I/O functions for the pins concerned. Each stamp can output a high
    > on each pin, and each stamp can detect a high on each pin. I then
    > tested the serial out to a LCD on each pin and it works just fine.
    >
    > I simply can't work out what is going on. Can anyone suggest
    > anything else I should be looking at?
    >
    > Regards,
    >
    > Dwain.
    >
    >
    > 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.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-01-01 05:36
    You might find column #81 from "The Nuts & Volts of BASIC Stamps" useful.
    You can download it as a PDF from this link:

    <A
    HREF="http://www.parallax.com/html_pages/resources/nvcolumns/Nuts_Volts_Download\
    s_V3.asp
    ">
    http://www.parallax.com/html_pages/resources/nvcolumns/Nuts_Volts_Downloads_V3.

    asp</A>

    -- Jon Williams
    -- Parallax

    In a message dated 12/31/2002 9:49:52 PM Central Standard Time,
    dwainsworld@e... writes:

    > Happy Newyear!!
    >
    > I have been trying to get serial comms with flow control to work
    > between two BS2E's.
    >
    > I got the program from the manual to work, so then proceded to add
    > it to my own program, which didn't work.
    >
    > so i went back to the manual example and tried to get it to work
    > again, and guess what, I couldn't get it to go!!
    >
    > OK so in case I have blown something up, I have tested each stamps
    > I/O functions for the pins concerned. Each stamp can output a high
    > on each pin, and each stamp can detect a high on each pin. I then
    > tested the serial out to a LCD on each pin and it works just fine.
    >
    > I simply can't work out what is going on. Can anyone suggest
    > anything else I should be looking at?
    >
    > Regards,
    >
    > Dwain.



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-01-01 06:47
    I will look up the nuts and volts reference, thanks for that guys.

    After about 69 hours of frustration, I have finally found what was amiss.

    I was using a forward slash instead of a backslash in the pin definition
    part of the code, which rather than generating an error, simply stopped the
    flow control. Now there's a catch for young players!!

    Thanks again.

    Dwain.
    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, January 01, 2003 4:36 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Serial data with flow control help


    > You might find column #81 from "The Nuts & Volts of BASIC Stamps" useful.
    > You can download it as a PDF from this link:
    >
    > <A
    HREF="http://www.parallax.com/html_pages/resources/nvcolumns/Nuts_Volts_Down
    loads_V3.asp">
    >
    http://www.parallax.com/html_pages/resources/nvcolumns/Nuts_Volts_Downloads_
    V3.
    >
    > asp</A>
    >
    > -- Jon Williams
    > -- Parallax
    >
    > In a message dated 12/31/2002 9:49:52 PM Central Standard Time,
    > dwainsworld@e... writes:
    >
    > > Happy Newyear!!
    > >
    > > I have been trying to get serial comms with flow control to work
    > > between two BS2E's.
    > >
    > > I got the program from the manual to work, so then proceded to add
    > > it to my own program, which didn't work.
    > >
    > > so i went back to the manual example and tried to get it to work
    > > again, and guess what, I couldn't get it to go!!
    > >
    > > OK so in case I have blown something up, I have tested each stamps
    > > I/O functions for the pins concerned. Each stamp can output a high
    > > on each pin, and each stamp can detect a high on each pin. I then
    > > tested the serial out to a LCD on each pin and it works just fine.
    > >
    > > I simply can't work out what is going on. Can anyone suggest
    > > anything else I should be looking at?
    > >
    > > Regards,
    > >
    > > Dwain.
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > 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.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-01-01 17:40
    In a message dated 12/31/2002 11:38:15 PM Pacific Standard Time,
    dwainsworld@e... writes:

    > I will look up the nuts and volts reference, thanks for that guys.
    >
    > After about 69 hours of frustration, I have finally found what was amiss.
    >
    > I was using a forward slash instead of a backslash in the pin definition
    > part of the code, which rather than generating an error, simply stopped
    > the
    > flow control. Now there's a catch for young players!!
    >

    Don't you just hate it when that happens. Although, a lesson well learned.
    You will likely never make that mistake again!


    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.