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.
Sound Movement
— Stereo mic sound localization triggers left/right scripts to control robot movement, enabling directional responses (turn/move) to audio.
Try it →
COM.isPortOpen(port)
| port | COM port name as a string. |
Returns true if the specified COM port is open. Returns false otherwise.