HMC5883 Compass icon HMC5883 Compass Reads HMC5883 3-axis compass via I2C and updates EZ-Script variables on demand; polled control offers periodic heading data, for connected sensors. Try it →
 

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.