Class CreateArduino
Represents an operator that creates a connection to an Arduino board using the Firmata protocol.
public class CreateArduino : Source<Arduino>, INamedElement
- Inheritance
-
CreateArduino
- Implements
- Inherited Members
Properties
BaudRate
Gets or sets the serial baud rate.
[TypeConverter(typeof(BaudRateConverter))]
public int BaudRate { get; set; }
Property Value
Name
Gets or sets the optional alias for the Arduino board.
public string Name { get; set; }
Property Value
PortName
Gets or sets the name of the serial port used to communicate with the Arduino.
[TypeConverter(typeof(SerialPortNameConverter))]
public string PortName { get; set; }
Property Value
SamplingInterval
Gets or sets the sampling interval, in milliseconds, between analog and I2C measurements.
public int SamplingInterval { get; set; }
Property Value
Methods
Generate()
Generates an observable sequence that contains the Firmata connection object.
public override IObservable<Arduino> Generate()
Returns
- IObservable<Arduino>
A sequence containing a single instance of the Arduino class representing the Firmata connection.