Simple Java application to interface with the ADXL345 accelerometer breakout on a Raspberry Pi over I2C using Pi4J.