Re: arduino & serial object & max5

Forums > MaxMSP > arduino & serial object & max5
Mar 11 2013 | 1:51 pm

I am still having problems using the serial object to process the send arduino 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’, so not get through the serial object.

The data from the arduino prints the following messages, to show whether a sensor is touched or not.
Serial.println("1"); // 1 when high (so touched) or 0 when low (no touch)

My question therefore is: How can I alter my program for the data to be continiously read?
Currently some sensors stay high, even though they are not touched.

  1. mpr121touch.ino

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required