Reference+
Name
list()
Class
Serial
Description
Gets a list of all available serial ports. Use println() to write the information to the text window.
Examples
// Example by Tom Igoe import processing.serial.*; // The serial port Serial myPort; // List all the available serial ports printArray(Serial.list());
Syntax
serial.list()
Parameters
serial
(Serial)
any variable of type Serial
Return
String[]
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.