Shop OBEX P1 Docs P2 Docs Learn Events
Transmit numbers from SX28 to BS2 — Parallax Forums

Transmit numbers from SX28 to BS2

dbjdbj Posts: 75
edited 2007-03-11 01:36 in General Discussion
What would you set the baud rate at with the sx running at 4000000 Htz
open true·9600? Also should you use the internal osilator or external.
···························································· Thanks

Comments

  • JonnyMacJonnyMac Posts: 8,943
    edited 2007-03-11 01:36
    If you use SX/B it's easy:

    Baud    CON     "OT9600"
    



    Use this constant with SERIN and SEROUT. You have to use an external oscillator, though, the internal is not accurate enough for serial comms. If you look at the Serial LCD demo project in the help file it will show you how to do comms between a Stamp and the SX at OT9600 with just one wire.

    Post Edited (JonnyMac) : 3/11/2007 1:47:38 AM GMT
Sign In or Register to comment.