Shop OBEX P1 Docs P2 Docs Learn Events
Baud Rate help — Parallax Forums

Baud Rate help

ArchiverArchiver Posts: 46,084
edited 2001-11-29 00:25 in General Discussion
TC-

BASIC Stamp Programming Manual 2.0, page 296:

BS2p: = INT(2,500,000 / baud rate) - 20

per my occasionally reliable arithmetic:

= INT(2,500,000 / 115,200) - 20
= 21 - 20
= 1

If maximum speed is not crucial, consider slowing things down for
reliability.

Regards,

Steve

On 29 Nov 01 at 0:25, iamturbo2000@y... wrote:

> I am working on a project that uses SEROUT. The info I got, says
> that I can do a 115.2K baud rate. In the demo sorce code says that,
> for the BS2sx, 16390 = 38.4K baud rate. My question is what would I
> put in SEROUT for 115.2K baud rate for a BS2p?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-11-29 00:25
    I am working on a project that uses SEROUT. The info I got, says that
    I can do a 115.2K baud rate. In the demo sorce code says that, for
    the BS2sx, 16390 = 38.4K baud rate. My question is what would I put
    in SEROUT for 115.2K baud rate for a BS2p?

    Thanks
    TC
Sign In or Register to comment.