I'd definitely like to see a patch that uses connection between Max and arduino.
I had a bit of trouble actually getting the serial object to read the incoming data. I found out that (on OSX Panther anyway) two applications cannot access the serial port at the same time, so i had to close the arduino IDE.
I wrote a very simple program to send data back to max:
printInteger(i);
printNewline();
i++;
I should be seeing a simple incrementing count. It's what shows up in the arduino serial inspector, but max returns different data. I can tell that it's related to the count, but this is how it looks:
data: 49 51 53 48 10
data: 49 51 53 49 10
data: 49 51 53 50 10
data: 49 51 53 51 10
data: 49 51 53 52 10
data: 49 51 53 53 10
data: 49 51 53 54 10
data: 49 51 53 55 10
data: 49 51 53 56 10
data: 49 51 53 57 10
data: 49 51 54 48 10