Own Edit

Dependencies:   PinDetect mbed

Fork of LSM9DS1_Library_cal by jim hamblen

Revision:
3:ae0bc877c26d
Parent:
2:36abf8e18ade
--- a/LSM9DS1.cpp	Wed Feb 03 18:45:40 2016 +0000
+++ b/LSM9DS1.cpp	Wed Nov 02 21:46:04 2016 +0000
@@ -961,7 +961,7 @@
     // Whether we're using I2C or SPI, write a byte using the
     // gyro-specific I2C address or SPI CS pin.
     if (settings.device.commInterface == IMU_MODE_I2C) {
-        pc.printf("yo");
+        //pc.printf("yo");
         I2CwriteByte(_xgAddress, subAddress, data);
     } else if (settings.device.commInterface == IMU_MODE_SPI) {
         SPIwriteByte(_xgAddress, subAddress, data);
@@ -973,7 +973,7 @@
     // Whether we're using I2C or SPI, write a byte using the
     // accelerometer-specific I2C address or SPI CS pin.
     if (settings.device.commInterface == IMU_MODE_I2C) {
-        pc.printf("mo");
+        //pc.printf("mo");
         return I2CwriteByte(_mAddress, subAddress, data);
     } else if (settings.device.commInterface == IMU_MODE_SPI)
         return SPIwriteByte(_mAddress, subAddress, data);