Return the IMU’s magnetometer sample rate.
IMU.magneticFieldSampleRate()
None.
The IMU’s magnetometer sample rate in Hz.
Serial.print("Magnetic Field sample rate = ");
Serial.print(IMU.magneticFieldSampleRate());
Serial.println(" Hz");
Serial.println();
Serial.println("Magnetic Field in uT");
Serial.println("X\tY\tZ");