|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISwitchController
Controller interface of a Switch Controller
| Method Summary | |
|---|---|
ISwitch |
bindSwitch(PinDescriptor pidx)
Register pin and return accessor object for switch |
boolean |
getSwitchState(PinDescriptor pidx)
Ask the controller for current switch state. |
| Method Detail |
|---|
ISwitch bindSwitch(PinDescriptor pidx)
pidx - pin that switch is attached to
boolean getSwitchState(PinDescriptor pidx)
pidx - pin that switch is attached to
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||