no not only this also using the serial Exp. always the same thing
void setup() {
for (int i =0;i<Serial.list().length; i++) {
print(i + " ");
println(serial.list()[i]);
}
String pname = Serial.list()[5];
serial = new Serial(this,pname,9600);
}
void draw() {
if (serial.available() > 0 ) {
String val = serial.readStringUntil(‘\n’);
}
}
always the same thing