only test purpose not official
Diff: LSM9DS1.h
- Revision:
- 9:e0759c34eb93
- Parent:
- 8:16e88babd42a
diff -r 16e88babd42a -r e0759c34eb93 LSM9DS1.h --- a/LSM9DS1.h Mon Jun 19 02:25:48 2017 +0000 +++ b/LSM9DS1.h Fri Feb 07 00:53:14 2020 +0000 @@ -246,7 +246,8 @@ * gyro, 119 Hz for accelerometer, 80 Hz for magnetometer. * Use the return value of this function to verify communication. */ - bool begin(gyro_scale gScl = G_SCALE_2000DPS, + /* bool begin(gyro_scale gScl = G_SCALE_2000DPS, */ + uint16_t begin(gyro_scale gScl = G_SCALE_2000DPS, accel_scale aScl = A_SCALE_8G, mag_scale mScl = M_SCALE_4GS, gyro_odr gODR = G_ODR_119_BW_31, accel_odr aODR = A_ODR_119, mag_odr mODR = M_ODR_80);