AccelTest is a project mainly written in Java, it's free.
The simplest possible test code for the ADXL345 accelerometer
The simplest possible test code for the ADXL345 accelerometer, specifically as packaged in the IMU Digital Combo Board - 6 Degrees of Freedom ITG3200/ADXL345 from Sparkfun: http://www.sparkfun.com/products/10121
Created by Myles Grant [email protected] See also: https://github.com/grantmd/QuadCopter