com.buglabs.bug.module.lcd.pub
Interface IML8953Accelerometer

All Known Implementing Classes:
ML8953AccelerometerImplementation

public interface IML8953Accelerometer


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.
 

Method Detail

readX

short readX()
            throws java.io.IOException
Read the X-Axis data from the accelerometer device.

Returns:
X-Axis Data
Throws:
java.io.IOException

readY

short readY()
            throws java.io.IOException
Read the Y-Axis data from the accelerometer device.

Returns:
Y-Axis Data
Throws:
java.io.IOException

readZ

short readZ()
            throws java.io.IOException
Read the Z-Axis data from the accelerometer device.

Returns:
Z-Axis Data
Throws:
java.io.IOException

readSample

AccelerometerSample readSample()
                               throws java.io.IOException
Reads a single sample of the X,Y,Z axes.

Throws:
java.io.IOException