Uses an already-opened serial port, and optionally takes ownership of it.
Namespace: DimensionEngineering
Assembly: DimensionEngineering.Sabertooth (in DimensionEngineering.Sabertooth.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
Parameters
- port
- Type: System.IO.PortsSerialPort
The port to use. - takeOwnership
- Type: SystemBoolean
Whether to take ownership of the port. If true, calls to Close will close the port.
See Also