mortonkopf
Well-known member
Hello all, 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 single teensy 3 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:
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:
Code:
byte bytesIn[] = ledSerial[numPorts].readBytesUntil(10);
// Convert the byte array to a String
String line = new String(bytesIn);
Last edited: