[quote=“svan, post:8, topic:40721”]
import processing.serial.*;
Serial myPort;
void setup() {
// List all the available serial ports:
printArray(Serial.list());
// Open the port you are using at the rate you want:
myPort = new Serial(this, Serial.list()[7], 9600);
}
void draw() {
myPort.write(1); // turn on led
delay(1000);
myPort.write(0); // turn off led
delay(1000);
}
[/quotenothing no answer with your 2 examples, see you tomorrow I have to leave. Greetings and Thanks for your cooperation