Shop OBEX P1 Docs P2 Docs Learn Events
BS2 serin/serout — Parallax Forums

BS2 serin/serout

Christopher41877Christopher41877 Posts: 5
edited 2005-07-16 18:09 in BASIC Stamp
Hi,

I am using 2 bs2's and I want to connect them with one wire. Can I use serin and serout to connect them for communication? How difficult would this be?

Thanks,

Chris

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-07-16 15:48
    It's very simple -- so easy it's in the help file (See SERIN and SEROUT).· A couple notes, though:

    1) Use an open baudmode (open true with 10K pull-up·recommended) so that you can talk back and forth without fear of short circuits
    2) Remember that the receiver needs to be sitting on a SERIN statment when the transmiter "talks"
    ··· -- you can create a simple protocol to deal with this


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Christopher41877Christopher41877 Posts: 5
    edited 2005-07-16 16:15
    What I am actually trying to do is send data using the Linx LR series modules. I was using DTMF for my application but I am trying to get rid of the extra component and just use the BS2's to do this. When you refer to the help file, where exactly can I find this?
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-07-16 17:39
    Start the Stamp Editor. You see along the top where it says Help? Click on that, and from the drop-down menu click on Contents.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-07-16 18:09
    And then click on "SEROUT", or "SERIN" to get to the correct entry.
Sign In or Register to comment.