readLine

COM.readLine(port)

Parameters

port COM port name as a string.

Returns

One line of data from the COM port as a string.

Description

Reads all data from the specified COM port until an endline character is reached. Value is returned as a string.