Added print functions to adxl345 driver.