Alex Block / Mbed 2 deprecated test

Dependencies:   mbed weelio PID

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);