Shop OBEX P1 Docs P2 Docs Learn Events
multiple serins — Parallax Forums

multiple serins

ArchiverArchiver Posts: 46,084
edited 2002-05-04 23:40 in General Discussion
Hi

Is it possible for a BS2 to receive 2 separate serins on two
different pins? If so, what's the best way to do it? The application
is a robot which is controlled by 1 serial device but can receive
data from another as well.

thanks

James

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-05-04 22:16
    For James

    Stamp can receive a serin on any pin. I frequently have serins coming in on
    five to six pins. Simply address the pin you want to use - very simple.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-04 22:19
    For James - just top make sure you know, only one serin at a time. Stamp
    will sit and wait forever for a serin unless you use a time option.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-04 22:39
    Thanks Sid

    Perfect -- it was the timeout that was causing the problem

    thanks alot

    James

    --- In basicstamps@y..., Newzed@a... wrote:
    > For James - just top make sure you know, only one serin at a time.
    Stamp
    > will sit and wait forever for a serin unless you use a time option.
    >
    > Sid
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-04 23:40
    ...but not concurrently. You would have to poll each pin to see if there was
    anything coming in.

    Original Message

    > Stamp can receive a serin on any pin. I frequently have serins coming in
    on
    > five to six pins. Simply address the pin you want to use - very simple.
Sign In or Register to comment.