readAllText

COM.readAllText(port)

Parameters

port COM port name as a string.

Returns

All data in the COM port as a string.

Description

Reads all data from the specified COM port and returns it as a string.