RobotIO(String, Int32, Boolean) Constructor
Constructs an instance using a serial port name, baud rate and data terminal ready settings.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public RobotIO(
string port,
int baud,
bool dtrEnable
)
Public Sub New (
port As String,
baud As Integer,
dtrEnable As Boolean
)
new :
port : string *
baud : int *
dtrEnable : bool -> RobotIO
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.