Shop OBEX P1 Docs P2 Docs Learn Events
BS1 Serout — Parallax Forums

BS1 Serout

ArchiverArchiver Posts: 46,084
edited 2004-03-13 22:14 in General Discussion
Hi Group,

I'm a newb and can't get serout to work. All I want to do is send a
string so a VB program can write it to a text box. Here's what I
have, but nothing is being sent (I checked with a com port
snooper).

Main:

SEROUT 1, N2400, ("Hello")
PAUSE 1000
GOTO Main


TIA

Chuck

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-03-13 15:58
    Check out this link, and excellent "get you started" sending data from your
    stamp to vb. The code example is for a BS2, so you will have to modify the BS1
    code as needed.

    I used the example and it does work.

    LINK:
    http://www.rentron.com/receiving_data.htm

    Ken
    Hi Group,

    I'm a newb and can't get serout to work. All I want to do is send a
    string so a VB program can write it to a text box. Here's what I
    have, but nothing is being sent (I checked with a com port
    snooper).


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-13 22:14
    Thanks Ken! I figured it out, I didn't have a long enough pause waiting for
    the data to be sent. It works now.

    Chuck

    Original Message
    From: <smartdim@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, March 13, 2004 10:58 AM
    Subject: Re: [noparse][[/noparse]basicstamps] BS1 Serout


    > Check out this link, and excellent "get you started" sending data from
    your
    > stamp to vb. The code example is for a BS2, so you will have to modify the
    BS1
    > code as needed.
    >
    > I used the example and it does work.
    >
    > LINK:
    > http://www.rentron.com/receiving_data.htm
    >
    > Ken
Sign In or Register to comment.