com.sun.spot.sensorboard.hardware
Class ADT7411RangeInput
java.lang.Object
com.sun.spot.sensorboard.hardware.AbstractADT7411RangeInput
com.sun.spot.sensorboard.hardware.ADT7411RangeInput
- All Implemented Interfaces:
- IScalarInput
public class ADT7411RangeInput
- extends AbstractADT7411RangeInput
Sub-class of AbstractADT7411RangeInput that provides access to the a-to-d channels of the ADT7411
that are used for the accelerometer, the light sensor and the battery voltage sensor.
Once constructed, the
ADT7411RangeInput object provides values from selected channel via the RangeInput
interface implemented by AbstractADT7411RangeInput
- Author:
- Syntropy
|
Constructor Summary |
ADT7411RangeInput(IADT7411 adt7411,
int pinNumber)
Constructor; stores addressing values for the adt7411 and the pin number that defines the a-to-d channel to be used |
ADT7411RangeInput
public ADT7411RangeInput(IADT7411 adt7411,
int pinNumber)
- Constructor; stores addressing values for the adt7411 and the pin number that defines the a-to-d channel to be used
- Parameters:
adt7411 - the ADT7411 to be accessedpinNumber - defines the a-to-d channel to be accessed by this object
Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.