Shop OBEX P1 Docs P2 Docs Learn Events
communication from stamp to computer — Parallax Forums

communication from stamp to computer

ArchiverArchiver Posts: 46,084
edited 2002-09-16 03:03 in General Discussion
Hi everyone



I am tryng to use the values of sensors collected by the basic stamp, to run
a program on my computer and I need to know:



After a RCtime does the Basic Stamp sends the value as an asci chain that
ends with a 0 to specify the end of the line

or

does it sends several values one after the other and when the buffer is full
sends a caracter 10 or 13 as a modem does




Natacha Roussel

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-09-16 02:55
    It does not send after a RCtime unless you tell it to send via
    debug or serout command and you can specify either way with a 0
    or cr lf, ( 10 13 ). What ever floats your boat the best


    Original Message
    From: "natacha Roussel" <natacharoussel@o...>
    To: <basicstamps@yahoogroups.com>
    Sent: September 15, 2002 6:35 PM
    Subject: [noparse][[/noparse]basicstamps] communication from stamp to computer


    Hi everyone



    I am tryng to use the values of sensors collected by the basic
    stamp, to run
    a program on my computer and I need to know:



    After a RCtime does the Basic Stamp sends the value as an asci
    chain that
    ends with a 0 to specify the end of the line

    or

    does it sends several values one after the other and when the
    buffer is full
    sends a caracter 10 or 13 as a modem does




    Natacha Roussel


    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-09-16 03:03
    I assume you mean when debug sends the value. If so, it sends whatever you
    tell it after the value. If you put a ,CR at the end of the debug line, it
    will send a carriage return. It may also send a line feed, but I don't
    recall ever checking specifically.

    Original Message

    > I am tryng to use the values of sensors collected by the basic stamp, to
    run
    > a program on my computer and I need to know:
    >
    >
    >
    > After a RCtime does the Basic Stamp sends the value as an asci chain that
    > ends with a 0 to specify the end of the line
    >
    > or
    >
    > does it sends several values one after the other and when the buffer is
    full
    > sends a caracter 10 or 13 as a modem does
Sign In or Register to comment.