SunSPOT API V3.0


com.sun.spot.sensorboard.capabilities
Interface ILightSensorController

All Known Implementing Classes:
EDemoController

public interface ILightSensorController

Controller interface of a LightSensor controller.

Author:
arshan

Method Summary
 int getLightSensorValue(PinDescriptor pidx)
          Ask controller to return current value of lightsensor
 

Method Detail

getLightSensorValue

int getLightSensorValue(PinDescriptor pidx)
Ask controller to return current value of lightsensor

Parameters:
pidx - Scalar input pin that light sensor is attached to
Returns:
current value of pin

SunSPOT API V3.0


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