LSM9DS1 IMU sensor driver i2c

Dependents:   read_Pmod optWingforHAPS_Eigen hexaTest_Eigen

Revision:
4:ac533087fb16
Parent:
3:8b71897cb24e
--- a/LSM9DS1.h	Wed Oct 20 02:05:02 2021 +0000
+++ b/LSM9DS1.h	Thu Oct 28 09:44:23 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(0), uint8_t mAddr = LSM9DS1_M_I2C_ADDR(0));
+    LSM9DS1(I2C& p_i2c, uint8_t xgAddr = LSM9DS1_AG_I2C_ADDR(1), uint8_t mAddr = LSM9DS1_M_I2C_ADDR(1));
     
     /**  begin() -- Initialize the gyro, accelerometer, and magnetometer.
     *  This will set up the scale and output rate of each sensor. It'll also