rrr

Dependencies:   mbed MX28

Revision:
10:6a9de32601b1
Parent:
9:07de3af99031
--- a/LSM9DS1.cpp	Mon Nov 05 09:29:20 2018 +0000
+++ b/LSM9DS1.cpp	Mon Nov 05 12:14:58 2018 +0000
@@ -47,18 +47,18 @@
     
     // Gyro initialization stuff:
     initGyro(); // This will "turn on" the gyro. Setting up interrupts, etc.
-    setGyroODR(gODR); // Set the gyro output data rate and bandwidth.
-    setGyroScale(gScale); // Set the gyro range
+//    setGyroODR(gODR); // Set the gyro output data rate and bandwidth.
+//    setGyroScale(gScale); // Set the gyro range
     
     // Accelerometer initialization stuff:
     initAccel(); // "Turn on" all axes of the accel. Set up interrupts, etc.
-    setAccelODR(aODR); // Set the accel data rate.
-    setAccelScale(aScale); // Set the accel range.
+//    setAccelODR(aODR); // Set the accel data rate.
+//    setAccelScale(aScale); // Set the accel range.
     
     // Magnetometer initialization stuff:
     initMag(); // "Turn on" all axes of the mag. Set up interrupts, etc.
-    setMagODR(mODR); // Set the magnetometer output data rate.
-    setMagScale(mScale); // Set the magnetometer's range.
+//    setMagODR(mODR); // Set the magnetometer output data rate.
+//    setMagScale(mScale); // Set the magnetometer's range.
     
     // Once everything is initialized, return the WHO_AM_I registers we read:
     return (xgTest << 8) | mTest;