ADXL345 sample program