com.sun.spot.sensorboard.peripheral
Class LightSensor
java.lang.Object
com.sun.spot.sensorboard.io.ScalarInput
com.sun.spot.sensorboard.peripheral.LightSensor
- All Implemented Interfaces:
- IScalarInput, ILightSensor
public class LightSensor
- extends ScalarInput
- implements ILightSensor
simple extension of ScalarInput
- Author:
- arshan
LightSensor
public LightSensor(PinDescriptor pidx,
int r,
IADCController cntrl)
- Creates a new instance of LightSensor
- Parameters:
pidx - PinDescriptor that the lightsensor is connected tor - Range of the mask for the above pincntrl - the ADC controller to use
Copyright © 2007 Sun Microsystems, Inc. All Rights Reserved.