Sample code for ADXL Dev Board