Shop OBEX P1 Docs P2 Docs Learn Events
Full Duplex Serial Object Questions (again) — Parallax Forums

Full Duplex Serial Object Questions (again)

James LongJames Long Posts: 1,181
edited 2007-02-28 06:06 in Propeller 1
Ok....so I had to do a small add to my lower object file to get the send and receive going with it.....

Now I have a question....that I haven't seen the answer to.

Does the Full duplex object receive MSB or LSB?· (MSB most significant bit/LSB least significant bit)

I have a byte that I think will end up being backwards when I receive it. I can reverse order if it is.....but I would like to know what order the serial works.

Thanks,

James L

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-02-28 05:58
    Asynchronous serial is always LSB first. It's a start bit, LSB ... MSB, then a stop bit.
  • James LongJames Long Posts: 1,181
    edited 2007-02-28 06:06
    Mike,

    Thanks ....it is funny....I never knew that. Hmmmm....I wonder how I got around that all this time. I guess this is the first time I have used asynchronous serial in any of my projects.

    But I'll remember from now on.

    James L
Sign In or Register to comment.