Treehopper Java API
io.treehopper.events.AdcValueChangedEventArgs Class Reference

ADC value changed EventArgs. More...

Public Member Functions

 AdcValueChangedEventArgs (int newAdcValue, int oldAdcValue)
 Construct a new AdcValueChangedEventArgs. More...
 

Public Attributes

int newAdcValue
 
int oldAdcValue
 

Detailed Description

ADC value changed EventArgs.

Constructor & Destructor Documentation

◆ AdcValueChangedEventArgs()

io.treehopper.events.AdcValueChangedEventArgs.AdcValueChangedEventArgs ( int  newAdcValue,
int  oldAdcValue 
)

Construct a new AdcValueChangedEventArgs.

Parameters
newAdcValuethe new ADC value
oldAdcValuethe previous ADC value

Member Data Documentation

◆ newAdcValue

int io.treehopper.events.AdcValueChangedEventArgs.newAdcValue

◆ oldAdcValue

int io.treehopper.events.AdcValueChangedEventArgs.oldAdcValue

The documentation for this class was generated from the following file: