RobotIO(String, Int32, Boolean) Constructor

Constructs an instance using a serial port name, baud rate and data terminal ready settings.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public RobotIO(
	string port,
	int baud,
	bool dtrEnable
)

Parameters

port  String
Serial port name.
baud  Int32
Baud rate.
dtrEnable  Boolean
Data terminal ready. Set to false when connecting directly to Arduino R3 Uno and Mega 2560, set to true for Leonardo and Arduino R4 Uno. Set to false when connecting via bluetooth.

See Also