orc
Class ADXL345

java.lang.Object
  extended by orc.ADXL345

public class ADXL345
extends java.lang.Object

Class for communicating with an ADXL345 3-axis accelerometer via the I2C port (use the 3.3V connection).


Constructor Summary
ADXL345(Orc orc)
           
 
Method Summary
 int getDeviceId()
           
static void main(java.lang.String[] args)
           
 int[] readAxes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADXL345

public ADXL345(Orc orc)
Method Detail

getDeviceId

public int getDeviceId()

readAxes

public int[] readAxes()

main

public static void main(java.lang.String[] args)