|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAccelerometer3D
Accelerometer3D provides access to the values for each of the x, y and z axes returned by the accelerometer on the demo board.
| Method Summary | |
|---|---|
int |
getCurrentRange()
|
int[] |
getRanges()
|
IScalarInput |
getXAxis()
|
IScalarInput |
getYAxis()
|
IScalarInput |
getZAxis()
|
void |
setRange(int rangeIndex)
Set the current range of this device to the range corresponding to getRanges()[rangeIndex] |
| Method Detail |
|---|
IScalarInput getXAxis()
IScalarInput getYAxis()
IScalarInput getZAxis()
int[] getRanges()
void setRange(int rangeIndex)
rangeIndex - index into getRanges() of the required rangeint getCurrentRange()
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||