serial_list()

Prints all available COM ports of computer to the output window.

Syntax

serial_list();

Parameters

Return Value Number of displayed COM ports of computer. Return value is integer number.

Example

result = serial_list();

result:

1

Output:

COM10: USB-SERIAL CH340 (COM10)

See also

serial_info, serial_open, serial_close, serial_config