serial.close

serial.close

serial.close

Function

Close the open serial port.

Syntax

Parameters

No parameters.

Return value

TypeDescription
BoolReturns true if the shutdown is successful.

Example

Notes

  • The handle remains the Device value after closing, but the underlying port is closed.