// display serial port list
println(Serial.list());
printArray(Serial.list());
// get the first available port (use EITHER this OR the specific port code below)
String portName = Serial.list()[0];
// get a specific serial port (use EITHER this OR the first-available code above)
String portName = "COM5";
// open the serial port
port = new Serial(this, portName, 115200);
May in this links some hints if you looking for something else