Digital three-axis accelerometer ADXL34551 microcontroller routine