Max 7 and Serial Communications

Sam Bilbow's icon

Hi All,

Trying and failing to get serial communication in Max 7. Can anyone help? I have an Arduino sending a stream of three columns of numbers, and want these in integer objects in Max.

I have the baud rate the same in the Arduino code and the max patch.

I don't have two serial applications open at the same time (ie. Max and Arduino, or Max and the serial monitor.)

serial port stream of data (x y z from accelerometer)

max patch (no output from serial object)

2K's icon

Max Patch
Copy patch and select New From Clipboard in Max.

Sam Bilbow's icon

That's amazing thanks, still a bit new to Max, how do I split apart the three numbers in the message box?

Sam Bilbow's icon

[unpack f f f] got it :)