Re: arduino & serial object & max5


Forums > MaxMSP > arduino & serial object & max5
March 4, 2013 | 8:30 am

Okay, hereby the files.
The data from the arduino prints the following messages.
Serial.print("sensor");
Serial.print(sensor);
Serial.print("pin");
Serial.print(i+10);
Serial.println("1"); // 1= high or 0=low
I then use Max to process the data. In the serial monitor in arduino the data represented is accurate.
However when the data is received in max, some data seems to get ‘lost’. I think this is related to the p processing patch.
My question therefore is: How can I alter the program that the data is continiously read?