Connect to NXT brick.
Namespace:
AForge.Robotics.LegoAssembly: AForge.Robotics.Lego (in AForge.Robotics.Lego.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
Parameters
- portName
- Type: System..::.String
Serial port name to use for communication, for example COM1.
Return Value
Returns true on successful connection or false otherwise.
Remarks
If connection to NXT brick was established before the call, existing connection will be reused.
If it is required to force reconnection, then Disconnect()()() method should be called before.