Sample application to test device accelerometer