|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.bug.module.lcd.ML8953AccelerometerImplementation
public class ML8953AccelerometerImplementation
Handles fetching parsing, passing back values from sysfs relating to the ML8953Accelerometer.
| Constructor Summary | |
|---|---|
ML8953AccelerometerImplementation()
|
|
| Method Summary | |
|---|---|
AccelerometerSample |
readSample()
Reads a single sample of the X,Y,Z axes. |
short |
readX()
Read the X-Axis data from the accelerometer device. |
short |
readY()
Read the Y-Axis data from the accelerometer device. |
short |
readZ()
Read the Z-Axis data from the accelerometer device. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ML8953AccelerometerImplementation()
| Method Detail |
|---|
public short readX()
throws java.io.IOException
IML8953Accelerometer
readX in interface IML8953Accelerometerjava.io.IOException
public short readY()
throws java.io.IOException
IML8953Accelerometer
readY in interface IML8953Accelerometerjava.io.IOException
public short readZ()
throws java.io.IOException
IML8953Accelerometer
readZ in interface IML8953Accelerometerjava.io.IOException
public AccelerometerSample readSample()
throws java.io.IOException
IML8953Accelerometer
readSample in interface IAccelerometerSampleProviderreadSample in interface IML8953Accelerometerjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||