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…
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…