SunSPOT API V6.0


com.sun.spot.sensorboard.peripheral
Interface ILIS3L02AQAccelerometerThresholdListener


public interface ILIS3L02AQAccelerometerThresholdListener

Implemented by classes wanting a call back when the value of an axis of the accelerometer goes above or below specified thresholds or the thresholds are changed.


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

Method Detail

thresholdExceeded

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

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

thresholdChanged

void thresholdChanged(LIS3L02AQAccelerometerEvent evt)
Callback for when the accelerometer sensor thresholds are changed.

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

SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.