Class AnalogInputReceivedEventArgs
Provides data for the AnalogInputReceived event.
public class AnalogInputReceivedEventArgs : EventArgs
- Inheritance
-
AnalogInputReceivedEventArgs
- Inherited Members
Constructors
AnalogInputReceivedEventArgs(int, int)
Initializes a new instance of the AnalogInputReceivedEventArgs class using the pin number and analog value received in the analog input message.
public AnalogInputReceivedEventArgs(int pin, int value)
Parameters
pin
intThe pin number from which the analog value was sampled.
value
intThe digitized analog value.
Properties
Pin
Gets the pin number from which the analog value was sampled.
public int Pin { get; }
Property Value
Value
Gets the digitized analog value.
public int Value { get; }