Query the IMU’s accelerometer and return the acceleration in g’s.
IMU.readAcceleration(x,y,z)
1 on success, 0 on failure.
float x, y, z;
if (IMU.accelerationAvailable()) {
IMU.readAcceleration(x, y, z);
Serial.print(x);
Serial.print('\t');
Serial.print(y);
Serial.print('\t');
Serial.println(z);
}