Shop OBEX P1 Docs P2 Docs Learn Events
Syntax for baud in SX/B — Parallax Forums

Syntax for baud in SX/B

John BondJohn Bond Posts: 369
edited 2006-10-05 14:45 in General Discussion
Hi Guys/Chaps/Mense (Choose option depending on nationality)

I'm using the code from one of the Nuts and Volts examples, the baud rate is defined as

Baud·· con·· "OT38400"

Please help - What is the syntax and what·are the options for this string. I've searched the help files as well as this forum and can find nothing.

Thanks and kind regards on this sunny spring day in Kwa Dukuza
John Bond

Comments

  • BeanBean Posts: 8,129
    edited 2006-10-05 11:08
    John,
    There are four "modes":
    "T" = True [noparse][[/noparse]0=Low; 1=High]
    "N" = Inverted [noparse][[/noparse]0=High; 1=Low]
    "OT" = Open True [noparse][[/noparse]Open=Low; 1=High]
    "ON" = Open Inverted [noparse][[/noparse]0 = Low; Open = High]

    The baud rate can be any value as long as the clock frequency can support it.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    Don't mistake experience for intelligence. And vis-vera.
    ·
  • John BondJohn Bond Posts: 369
    edited 2006-10-05 13:56
    Thanks Terry, that was very quick. You're a Braa...

    I see the time of your reply is the wee hours of the morning. By the way, do you ever sleep?

    Kind Regards from the·dark continent.

    John Bond
  • BeanBean Posts: 8,129
    edited 2006-10-05 14:45
    Sleep is for wimps [noparse];)[/noparse]
    ZZZZzzzzz

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    Don't mistake experience for intelligence. And vis-vera.
    ·
Sign In or Register to comment.