Table of Contents

Class AnalogInputReceivedEventArgs

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

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 int

The pin number from which the analog value was sampled.

value int

The digitized analog value.

Properties

Pin

Gets the pin number from which the analog value was sampled.

public int Pin { get; }

Property Value

int

Value

Gets the digitized analog value.

public int Value { get; }

Property Value

int