open

COM.open(port, baud)

Parameters

port COM port name as a string.
baud Baud rate of the port

Returns

Nothing

Description

Opens the specified COM port with a baud rate of baud. This function must be called before calling any other read or write functions to the COM port.