SunSPOT API V3.0


com.sun.spot.sensorboard.io
Interface IInputPinListener

All Known Implementing Classes:
InvertingInputPin, Switch

public interface IInputPinListener

Implemented by classes wanting a call back when the input pin state changes. Note: that if pin changes happen too fast some transitions may be missed. At least 3 milliseconds is required between pin changes.


Method Summary
 void pinSetHigh(IInputPin pin)
          Callback for when the input pin state changes from low to high.
 void pinSetLow(IInputPin pin)
          Callback for when the input pin state changes from high to low.
 

Method Detail

pinSetHigh

void pinSetHigh(IInputPin pin)
Callback for when the input pin state changes from low to high.


pinSetLow

void pinSetLow(IInputPin pin)
Callback for when the input pin state changes from high to low.


SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.