Processing arduino slave from raspberry pi

found the problem , in the line 14

port = new Serial(this, Serial.list()[0], 19200);

the [0] is turned to [1] , and now it WORKS PERFECTLY…

2 Likes