RobotIO(String, Int32, Boolean) Constructor
Constructs an instance using a serial port name, baud rate and data terminal ready settings.
Namespace: RoboTx.ApiAssembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+2fa4249a9eb2bae6a5092a98b9ebf36d639ce1b7
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.