SunSPOT API V3.0


com.sun.spot.sensorboard.capabilities
Interface ISwitchController

All Known Implementing Classes:
EDemoController

public interface ISwitchController

Controller interface of a Switch Controller

Author:
arshan

Method Summary
 boolean getSwitchState(PinDescriptor pidx)
          Ask the controller for current switch state.
 

Method Detail

getSwitchState

boolean getSwitchState(PinDescriptor pidx)
Ask the controller for current switch state.

Parameters:
pidx - pin that switch is attached to
Returns:
current state of switch

SunSPOT API V3.0


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