|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.spot.sensorboard.io.InvertingInputPin
public class InvertingInputPin
Class implementing single bit input with inversion of values read, i.e. low signal is returned as high and high signal is returned as low.
| Constructor Summary | |
|---|---|
InvertingInputPin(IInputPin input)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isHigh()
|
boolean |
isLow()
|
void |
waitForChange()
Blocks until there is a change, either way, in the input, as defined for the interface SingleBitInput |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvertingInputPin(IInputPin input)
input - single-bit input to be used| Method Detail |
|---|
public boolean isLow()
isLow in interface IInputPinIInputPin.isLow()public boolean isHigh()
isHigh in interface IInputPinIInputPin.isHigh()public void waitForChange()
waitForChange in interface IInputPinIInputPin.waitForChange()
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||