Sun SPOT API
Green Release  


com.sun.spot.sensorboard.io
Interface IInputPin

All Known Subinterfaces:
IIOPin
All Known Implementing Classes:
BinaryScalar, InputPin, InvertingInputPin, IOPin

public interface IInputPin

Interface SingleBitInput defines access to a single input pin.

Author:
jn151271 13-Dec-2004

Method Summary
 boolean isHigh()
           
 boolean isLow()
           
 void waitForChange()
          Blocks the caller waiting for a change.
 

Method Detail

isLow

boolean isLow()
Returns:
true if the input bit is low.

isHigh

boolean isHigh()
Returns:
true if the input bit is high.

waitForChange

void waitForChange()
Blocks the caller waiting for a change.


Sun SPOT API
Green Release  


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