SunSPOT API V2.0


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 IAccelerometer3D provides methods that should be meaningful for any 3-axis accelerometer.
ILightSensor simple extension of a scalar type input placeholder for future methods to do with the light sensor ie. getLumens()
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 IAccelerometer3D 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.


SunSPOT API V2.0


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