Version with sensors supporting SPI 3-wires

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON_SPI3W

Dependents:   sensor-node-ble

Fork of X_NUCLEO_IKS01A2 by Licio Mapelli

Revision:
19:bfb25ac47fb5
Parent:
17:991f03a4e8b8
diff -r 5ac81bd5cbe2 -r bfb25ac47fb5 XNucleoIKS01A2.cpp
--- a/XNucleoIKS01A2.cpp	Tue May 30 15:34:43 2017 +0000
+++ b/XNucleoIKS01A2.cpp	Mon Jun 05 10:03:30 2017 +0000
@@ -53,7 +53,7 @@
     magnetometer(new LSM303AGRMagSensor(dev_i2c)),
     accelerometer(new LSM303AGRAccSensor(dev_i2c)),
     pt_sensor(new LPS22HBSensor(dev_i2c)),
-    acc_gyro(new LSM6DSLSensor(dev_i2c, LSM6DSL_ACC_GYRO_I2C_ADDRESS_HIGH, NC, int1, int2))
+    acc_gyro(new LSM6DSLSensor(dev_i2c, LSM6DSL_ACC_GYRO_I2C_ADDRESS_HIGH, int1, int2))
 {   
   ht_sensor->init(NULL);
   magnetometer->init(NULL);