LSM9DS1 IMU sensor driver i2c

Dependents:   read_Pmod optWingforHAPS_Eigen hexaTest_Eigen

Revision:
3:8b71897cb24e
Parent:
2:9e0ac1cd9d79
Child:
4:ac533087fb16
--- a/LSM9DS1.h	Mon Sep 27 08:59:25 2021 +0000
+++ b/LSM9DS1.h	Wed Oct 20 02:05:02 2021 +0000
@@ -214,7 +214,7 @@
     *   - mAddr = If MODE_I2C, this is the I2C address of the mag.
     *               If MODE_SPI, this is the cs pin of the mag (CS_M)
     */
-    LSM9DS1(I2C& p_i2c, uint8_t xgAddr = LSM9DS1_AG_I2C_ADDR(1), uint8_t mAddr = LSM9DS1_M_I2C_ADDR(1));
+    LSM9DS1(I2C& p_i2c, uint8_t xgAddr = LSM9DS1_AG_I2C_ADDR(0), uint8_t mAddr = LSM9DS1_M_I2C_ADDR(0));
     
     /**  begin() -- Initialize the gyro, accelerometer, and magnetometer.
     *  This will set up the scale and output rate of each sensor. It'll also