Isportopen
COM.isPortOpen(port)
Parameters
| port | COM port name as a string. |
Returns
True if the COM port is open. False otherwise.Description
Returns true if the specified COM port is open. Returns false otherwise.
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 →
COM.isPortOpen(port)
| port | COM port name as a string. |
Returns true if the specified COM port is open. Returns false otherwise.