Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LSM9DS1_Library_cal by
Revision 3:ae0bc877c26d, committed 2016-11-02
- Comitter:
- Priunsh_N
- Date:
- Wed Nov 02 21:46:04 2016 +0000
- Parent:
- 2:36abf8e18ade
- Commit message:
- Final
Changed in this revision
| LSM9DS1.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
