mortonkopf
Well-known member
Paul, on the next release of octows2811 bundle, the movie2 serial needs a change to be able to work with Processing 2.1 at the current time (this will be corrected on the next processing release, apparently.
Processing 2.1 does not support readstringuntil, it was omitted for some reason. If updating your processing.org software you will need to use a workaround for movie2serial. I have tested it with the below code on a small teensy 3.0 and 3.1 array, and it seems to work.
https://github.com/processing/processing/issues/2191
most likely many of you will already know about this, but I could not find a forum post on this. I have substituted in the following code in the processing sketch to replace the readStringuntil:
byte bytesIn[] = ledSerial[numPorts].readBytesUntil(10);
// Convert the byte array to a String
String line = new String(bytesIn);
Processing 2.1 does not support readstringuntil, it was omitted for some reason. If updating your processing.org software you will need to use a workaround for movie2serial. I have tested it with the below code on a small teensy 3.0 and 3.1 array, and it seems to work.
https://github.com/processing/processing/issues/2191
most likely many of you will already know about this, but I could not find a forum post on this. I have substituted in the following code in the processing sketch to replace the readStringuntil:
byte bytesIn[] = ledSerial[numPorts].readBytesUntil(10);
// Convert the byte array to a String
String line = new String(bytesIn);