close_port
Close an active serial port and release it for other programs. Call this when finished communicating to free the device.
Instructions
Close a port opened with open_port and release it for other programs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port device from list_ports (e.g. /dev/cu.usbserial-0001, /dev/ttyUSB0, COM3), or a pyserial URL such as socket://host:port, rfc2217://host:port or loop://. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |