Hi guys, in my project i have to communicate with arduino by the serial port. I'm using this code:
port = new Serial(this, Serial.list()[0], 115200);
But is there a way to find automatically the right port? because on others computers i have always to change the number of port, like 1 or 2. Is there a command that can do that?
Thank you