Quantcast
Channel: Arduino - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 747

Finding the right serial port for Arduino

$
0
0

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


Viewing all articles
Browse latest Browse all 747

Latest Images

Trending Articles



Latest Images