Serial Data from Arduino to Max Getting Jumbled

Oli Mason's icon

Hi everyone,

I have previously got serial data successfully into Max from a Adafruit NFC Shield, now I am using a GSM shield to get text message data in.

The problem I am getting is if i text to Arduino it prints in the serial window fine, but as soon as i start polling the serial object in Max, data starts going missing, or the message splits its self between the Arduino window and my max patch?!

Any ideas, cos Im a little stumped!

Regards,

Oli

brendan mccloskey's icon

Hi Oli

When running the [serial] object in Max, you must have the Arduino serial monitor window closed. Both applications are chasing the one data stream. Not good.

Oli Mason's icon

Hi Brendan,

Thats solved my problem!

Thanks for that it would have taken me ages to figure that out!

Regards,

Oli