Re: arduino & serial object & max5

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.print(“sensor”);
Serial.print(sensor);
Serial.print(“pin”);
Serial.print(i+10);
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.

Attachments:
  1. mpr121touch.ino
Mar 11, 2013 at 1:51pm #240425