SunSPOT API V5.0


Uses of Interface
com.sun.spot.sensorboard.peripheral.ISwitch

Packages that use ISwitch
com.sun.spot.sensorboard Contains highest level interfaces and concrete classes that make up the SunSPOT sensorboard libraries. 
com.sun.spot.sensorboard.peripheral Interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards. 
 

Uses of ISwitch in com.sun.spot.sensorboard
 

Methods in com.sun.spot.sensorboard that return ISwitch
 ISwitch[] IDemoBoard.getSwitches()
          Method to return an array of the builtin switches.
 ISwitch[] EDemoController.getSwitches()
          Return an array of all the built in switches on the board.
 ISwitch[] EDemoBoard.getSwitches()
          Method to return an array of all the built in switches on the board.
 

Uses of ISwitch in com.sun.spot.sensorboard.peripheral
 

Classes in com.sun.spot.sensorboard.peripheral that implement ISwitch
 class Switch
          Class implementing simple switches, assuming a mapping of open=LOW, closed=HIGH.
 

Methods in com.sun.spot.sensorboard.peripheral with parameters of type ISwitch
 void ISwitchListener.switchPressed(ISwitch sw)
          Callback for when the switch state changes from released to pressed.
 void ISwitchListener.switchReleased(ISwitch sw)
          Callback for when the switch state changes from pressed to released.
 


SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.