Fork of Eugene Gonzalez's version of LSM9DS1_Demo, Modified by Sherry Yang.

Fork of LSM6DS3 by Sherry Yang

Revision:
3:b705b62fbc1a
Parent:
2:ed14e6196255
--- a/LSM6DS3.cpp	Tue Jun 21 20:51:25 2016 +0000
+++ b/LSM6DS3.cpp	Thu Jul 05 01:31:06 2018 +0000
@@ -3,6 +3,7 @@
 LSM6DS3::LSM6DS3(PinName sda, PinName scl, uint8_t xgAddr) : i2c(sda, scl)
 {
     // xgAddress will store the 7-bit I2C address, if using I2C.
+    i2c.frequency(400000);
     xgAddress = xgAddr;
 }