Shop OBEX P1 Docs P2 Docs Learn Events
simple communication between BS1 and BS2 — Parallax Forums

simple communication between BS1 and BS2

ArchiverArchiver Posts: 46,084
edited 2002-05-03 23:18 in General Discussion
I need to be able to send a simple on/off command from a BS1 to a BS2.
I was thinking about having a pin go high on the BS1 and having the
BS2 detect if the pin is high or low.

Does anyone have an example of this?

thanks
chad

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-05-03 23:18
    --- In basicstamps@y..., "bear_phillips" <bear_phillips@y...> wrote:
    > I need to be able to send a simple on/off command from a BS1 to a
    BS2.
    > I was thinking about having a pin go high on the BS1 and having the
    > BS2 detect if the pin is high or low.
    >
    > Does anyone have an example of this?
    >
    > thanks
    > chad

    I've been doing a lot of on/off signals between BS1 and BS2 stamps.
    The best way is to use the Serout and Serin commands. Setting pins
    high and low may work, but I've noticed some glitches in the BS1
    chips that might cause this method to give inconsistent results.
    The serin and serout commands work much better. See the "Networking
    Multiple Stamps" App Note in the BS1 manual or the Parallax site for
    a command usage reference. You won't need the connection to a PC or
    associated hardware. However, make sure you have all chips in
    your 'network' grounded together.

    Hope this helps

    Don
Sign In or Register to comment.