SunSPOT API V6.0


com.sun.spot.sensorboard.peripheral
Interface IADT7411TemperatureInputThresholdListener


public interface IADT7411TemperatureInputThresholdListener

Implemented by classes wanting a call back when the temperature value goes above or below specified thresholds or the thresholds are changed.


Method Summary
 void thresholdChanged(ADT7411TemperatureInputEvent evt)
          Callback for when the temperature thresholds are changed.
 void thresholdExceeded(ADT7411TemperatureInputEvent evt)
          Callback for when the temperature value goes above or below the specified threshold for one of the axis.
 

Method Detail

thresholdExceeded

void thresholdExceeded(ADT7411TemperatureInputEvent evt)
Callback for when the temperature value goes above or below the specified threshold for one of the axis.

Parameters:
evt - the ADT7411TemperatureInputEvent containing the state information for this event

thresholdChanged

void thresholdChanged(ADT7411TemperatureInputEvent evt)
Callback for when the temperature thresholds are changed.

Parameters:
evt - the ADT7411TemperatureInputEvent containing the state information for this event

SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.