SunSPOT API V6.0


Package com.sun.spot.resources.transducers

The new Sensor API.

See:
          Description

Interface Summary
IAccelerometer3D IAccelerometer3D provides methods that should be meaningful for any 3-axis accelerometer.
IAnalogInput Simple interface to read temperature.
ICompositeTransducer Basic interface for a composite transducer, i.e. one that contains other transducers.
IConditionListener Implemented by classes wanting a call back when a condition on a sensor is met.
IInputPin Interface IInputPin defines access to a single digital input pin.
IInputPinListener Implemented by classes wanting a call back when the input pin state changes.
IIOPin Interface to a basic GPIO pin.
ILed Represents a simple one-colour LED
ILightSensor Simple light sensor.
IMeasurementInfo This interface allows an application to get measurement information for a sensor: the min and max value, the resolution and the accuracy of the sensor.
IMeasurementInfoVector Just like IMeasurementInfo, but for sensors that return vector (N-tuple) values.
IMeasurementRange Used to get/set the measurement range of a sensor.
IMeasurementRangeListener Implemented by classes wanting a call back when the measurement scale of a sensor changes.
IMeasurementRangeVariable Used to get/set the measurement range of an adjustible sensor.
IMeasurementRangeVector Just like IMeasurementRange, but for sensors that return vector (N-tuple) values.
IOutputPin Interface to a basic digital output pin.
IServo Reflect status of and allow control of an industry standard servo.
IStandby Provides a way to put a sensor/device into standby mode in order to conserve power.
ISwitch Represents a simple pushbutton switch
ISwitchListener Implemented by classes wanting a call back when the switch state changes.
ITemperatureInput Simple interface to read temperature.
IToneGenerator Interface to represent a simple tone generator.
ITransducer Provide basic metadata for a sensor or actuator.
ITriColorLED Access and control of 3-color LEDs
ITriColorLEDArray Access and control of an array of 3 color LEDs
ITriColorLightSensor Interface for an RGB light sensor.
 

Class Summary
Accelerometer3DEvent Capture the state of a 3D accelerometer input event so it can be reported to a callback.
AnalogInputEvent Capture the state of an analog input event so it can be reported to a callback.
CompositeTransducer Minimal implementation of the ICompositeTransducer interface.
Condition Task to regularly test a sensor to determine if a condition is met and when the condition is met then to invoke a callback.
InputPinEvent Capture the state of a input pin event so it can be reported to a callback.
LEDColor Color class to be used by TriColorLED.
LightSensorEvent Capture the state of a light sensor event so it can be reported to a callback.
MeasurementRangeEvent Capture the state of a scale change so it can be reported to a callback.
SensorEvent Capture the state of a sensor so it can be reported to a callback.
SwitchEvent Capture the state of a switch event so it can be reported to a callback.
TemperatureInputEvent Capture the state of a temperature input event so it can be reported to a callback.
TriColorLightSensorEvent Capture the state of a tri color light sensor event so it can be reported to a callback.
 

Package com.sun.spot.resources.transducers Description

The new Sensor API.

See ITransducer for more details.


SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.