#ctor(System.String,System.Int32,System.Boolean) Method

Creates and initializes a new instance of the Arduino class.

Parameters

Name Description
portName The name of the serial port to use. If null or empty, Rhyduino will attempt to auto detect it.
baudRate The baud rate to use for the serial port.
autoOpen Flag indicating if the serial connection to the device should be opened immediately. If false, the serial port is left closed until Rhyduino performs an operation that requires it to be open.

Exceptions

System.InvalidOperationException

Exception is thrown when the serial port is not open.

Remarks

Examples

See Also

Last edited Jul 5, 2010 at 12:30 AM by RhyMednick, version 9

Comments

No comments yet.