readByte

COM.readByte(port)

Parameters

port COM port name as a string.

Returns

The first byte read from the COM port.

Description

Reads and returns one byte from the specified COM port.