Shop OBEX P1 Docs P2 Docs Learn Events
SpStr? — Parallax Forums

SpStr?

ArchiverArchiver Posts: 46,084
edited 2002-02-05 15:04 in General Discussion
I saw in a previous post a referance to an undocumented serial modifier SpStr
allowing serial data to be read directly into
scratchpad. Is this only available on the bs2p? I am writing for the bs2SX and
the command does not appear to be recognized... Below
is a snippet. Any ideas would be appreciated.

MH

serin TelemTx, TelemBaud, TelemTimeout, CommTimeOut, [noparse][[/noparse]skip(offset), SPSTR
length]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-02-05 09:19
    Hi MH,

    Unfortunately it is sadly true...It's only on the BS2p.

    I use the SX a lot, and have managed to get round the issue in serial input
    by judicious use of Wait and Skip.

    My biggest challenge was reading the full NMEA string from a GPS. To get
    round the problem, I populated varaibles on successive reads.

    Regards,

    Tony Wells
    Original Message
    From: "Michael Hendricks" <mjh80@b...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, February 05, 2002 5:02 AM
    Subject: [noparse][[/noparse]basicstamps] SpStr?


    > I saw in a previous post a referance to an undocumented serial modifier
    SpStr allowing serial data to be read directly into
    > scratchpad. Is this only available on the bs2p? I am writing for the bs2SX
    and the command does not appear to be recognized... Below
    > is a snippet. Any ideas would be appreciated.
    >
    > MH
    >
    > serin TelemTx, TelemBaud, TelemTimeout, CommTimeOut, [noparse][[/noparse]skip(offset), SPSTR
    length]
    >
    >
    > 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 2002-02-05 13:02
    The SPSTR modifier is only available in the BS2p series.

    -- Jon Williams
    -- Parallax


    In a message dated 2/4/02 11:03:33 PM Central Standard Time,
    mjh80@b... writes:


    > I saw in a previous post a referance to an undocumented serial modifier
    > SpStr allowing serial data to be read directly into
    > scratchpad. Is this only available on the bs2p? I am writing for the bs2SX
    > and the command does not appear to be recognized... Below
    > is a snippet. Any ideas would be appreciated.
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-05 15:04
    Thank for the help.

    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, February 05, 2002 7:02 AM
    Subject: Re: [noparse][[/noparse]basicstamps] SpStr?


    > The SPSTR modifier is only available in the BS2p series.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    > In a message dated 2/4/02 11:03:33 PM Central Standard Time,
    > mjh80@b... writes:
    >
    >
    > > I saw in a previous post a referance to an undocumented serial modifier
    > > SpStr allowing serial data to be read directly into
    > > scratchpad. Is this only available on the bs2p? I am writing for the bs2SX
    > > and the command does not appear to be recognized... Below
    > > is a snippet. Any ideas would be appreciated.
    > >
    >
    >
    >
    >
    > [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/
    >
    >
Sign In or Register to comment.