Return the IMU’s accelerometer sample rate.
IMU.accelerationSampleRate()
None.
The IMU’s accelerometer sample rate in Hz.
Serial.print("Accelerometer sample rate = ");
Serial.print(IMU.accelerationSampleRate());
Serial.println(" Hz");
Serial.println();
Serial.println("Acceleration in g's");
Serial.println("X\tY\tZ");