Class AnalogInput
Represents an operator that generates a sequence of digitized analog readings from the specified Arduino input pin.
public class AnalogInput : Source<int>
- Inheritance
-
AnalogInput
- Inherited Members
Properties
Pin
Gets or sets the analog input pin number from which to take readings.
public int Pin { get; set; }
Property Value
PortName
Gets or sets the name of the serial port used to communicate with the Arduino.
[TypeConverter(typeof(PortNameConverter))]
public string PortName { get; set; }
Property Value
Methods
Generate()
Generates an observable sequence of digitized analog values.
public override IObservable<int> Generate()
Returns
- IObservable<int>
A sequence of int values that report the digitized analog readings from the specified Arduino analog input pin.