You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • That's odd - getting that many framing errors points to something being wrong though.

    Your parity:E, isn't going to do what you want though. I'm pretty surprised that doesn't error. I think what you actually want is parity:'e'

    With that, you might find you get more sensible framing errors.

    Also, I'm not sure you want Serial.read(25) - you'd be better off just doing Serial.read() - because otherwise if something changes and actually 26 characters get sent between framing errors, you're going to end up buffering a whole load of data.

About

Avatar for Gordon @Gordon started