Sun SPOT API
Green Release  


Package com.sun.spot.sensorboard.peripheral

Interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards.

See:
          Description

Interface Summary
IAccelerometer3D Accelerometer3D provides access to the values for each of the x, y and z axes returned by the accelerometer on the demo board.
ILightSensor simple extension of a scalar type input placeholder for future methods to do with the light sensor ie.
IServo Reflect status of and allow control of an industry standard servo.
ISwitch Represents a simple pushbutton switch
IToneGenerator Interface to represent a simple tone generator.
ITriColorLED Access and control of 3 color LEDs
 

Class Summary
LEDColor Color class to be used by TriColorLED.
LightSensor simple extension of ScalarInput
LIS3L02AQAccelerometer Class to implement an accelerometer on the demo sensor board and provide access to it via the Accelerometer3D interface.
Servo the basic servo, controlled via a valid SPOT IServoController.
Switch Class implementing simple switches, assuming a mapping of open=LOW, closed=HIGH.
ToneGenerator Allows attaching a simple speaker device to an output pin to generate various simple frequencies.
TriColorLED Provides access to the colored LEDs
 

Package com.sun.spot.sensorboard.peripheral Description

Interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards.


Sun SPOT API
Green Release  


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