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.
Diff: X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp
- Revision:
- 6:7a7f36ab6c20
- Parent:
- 2:f23b144da50a
--- a/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp Wed Nov 23 15:53:51 2016 +0000
+++ b/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp Wed Nov 23 16:45:36 2016 +0000
@@ -52,7 +52,7 @@
magnetometer(new LSM303AGR_MAG_Sensor(*dev_i2c)),
accelerometer(new LSM303AGR_ACC_Sensor(*dev_i2c)),
pt_sensor(new LPS22HBSensor(*dev_i2c)),
- acc_gyro(new LSM6DSLSensor(*dev_i2c))
+ acc_gyro(new LSM6DSLSensor(*dev_i2c, IKS01A2_PIN_LSM6DSL_INT1, IKS01A2_PIN_LSM6DSL_INT2))
{
ht_sensor->Init(NULL);
magnetometer->Init(NULL);