updated

Dependencies:   PinDetect mbed

Fork of LSM9DS1_Library_cal by jim hamblen

Revision:
3:2c98369b783c
Parent:
2:36abf8e18ade
diff -r 36abf8e18ade -r 2c98369b783c LSM9DS1.cpp
--- a/LSM9DS1.cpp	Wed Feb 03 18:45:40 2016 +0000
+++ b/LSM9DS1.cpp	Sun Apr 23 19:25:09 2017 +0000
@@ -332,7 +332,7 @@
     int32_t aBiasRawTemp[3] = {0, 0, 0};
     int32_t gBiasRawTemp[3] = {0, 0, 0};
     pc.printf("\n\rPlace IMU on level surface and do not move it for gyro and accel calibration.\n\r");
-    wait(1);
+    //wait(1);
     // Turn on FIFO and set threshold to 32 samples
     enableFIFO(true);
     setFIFO(FIFO_THS, 0x1F);
@@ -369,7 +369,7 @@
     int16_t magMin[3] = {0, 0, 0};
     int16_t magMax[3] = {0, 0, 0}; // The road warrior
     pc.printf("\n\n\r Rotate IMU device at least 360 in horizontal plane for magnetometer calibration\n\r");
-    wait(0.5);
+    //wait(0.5);
     for (i=0; i<1000; i++) {
         while (!magAvailable(ALL_AXIS));
         readMag();