Shop OBEX P1 Docs P2 Docs Learn Events
BS2p40 Direct Serial Communication — Parallax Forums

BS2p40 Direct Serial Communication

ArchiverArchiver Posts: 46,084
edited 2001-07-27 20:56 in General Discussion
Okay, so i played around with my BS2sx and could send cool stuff to
the sx and make it do stuff from my pc (not just using the parallax
softwar, but using my own). Now from what i have read, the commands
and settings should be the exact same (as far as Serin pin,
baud,....yada yada yada), however i can't get a damn thing to work
right! I don't get good serial communication!!! Are there other
settings that i don't know about???

Works on my BS2sx:
Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
Dosen't on my BS2p40
Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]

any ideas?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-07-27 07:12
    You did switch to the proper pins, right? Mainio or Auxio if I remember
    right.

    Original Message


    > Okay, so i played around with my BS2sx and could send cool stuff to
    > the sx and make it do stuff from my pc (not just using the parallax
    > softwar, but using my own). Now from what i have read, the commands
    > and settings should be the exact same (as far as Serin pin,
    > baud,....yada yada yada), however i can't get a damn thing to work
    > right! I don't get good serial communication!!! Are there other
    > settings that i don't know about???
    >
    > Works on my BS2sx:
    > Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
    > Dosen't on my BS2p40
    > Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
  • ArchiverArchiver Posts: 46,084
    edited 2001-07-27 07:16
    Yup, i use mainio to get the pin 16 (physical pin 1)
    --- In basicstamps@y..., Rodent <daweasel@s...> wrote:
    > You did switch to the proper pins, right? Mainio or Auxio if I
    remember
    > right.
    >
    >
    Original Message
    >
    >
    > > Okay, so i played around with my BS2sx and could send cool stuff
    to
    > > the sx and make it do stuff from my pc (not just using the
    parallax
    > > softwar, but using my own). Now from what i have read, the
    commands
    > > and settings should be the exact same (as far as Serin pin,
    > > baud,....yada yada yada), however i can't get a damn thing to work
    > > right! I don't get good serial communication!!! Are there other
    > > settings that i don't know about???
    > >
    > > Works on my BS2sx:
    > > Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
    > > Dosen't on my BS2p40
    > > Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
  • ArchiverArchiver Posts: 46,084
    edited 2001-07-27 20:56
    Isn't this physical pin 0?

    On Fri, 27 Jul 2001 hellerj@p... wrote:

    > Yup, i use mainio to get the pin 16 (physical pin 1)
    > --- In basicstamps@y..., Rodent <daweasel@s...> wrote:
    > > You did switch to the proper pins, right? Mainio or Auxio if I
    > remember
    > > right.
    > >
    > >
    Original Message
    > >
    > >
    > > > Okay, so i played around with my BS2sx and could send cool stuff
    > to
    > > > the sx and make it do stuff from my pc (not just using the
    > parallax
    > > > softwar, but using my own). Now from what i have read, the
    > commands
    > > > and settings should be the exact same (as far as Serin pin,
    > > > baud,....yada yada yada), however i can't get a damn thing to work
    > > > right! I don't get good serial communication!!! Are there other
    > > > settings that i don't know about???
    > > >
    > > > Works on my BS2sx:
    > > > Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
    > > > Dosen't on my BS2p40
    > > > Serin 16, 16624,20,rtn, [noparse][[/noparse]WAIT ("**"),str hostBuf\3]
    >
    >
    > 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/
    >
    >
    >

    Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
    Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
    email: lamont@a... WWW: http://www.serv.net
    "...There's no moral, it's just a lot of stuff that happens". - H. Simpson
Sign In or Register to comment.