Version with sensors supporting SPI 3-wires
Dependencies: ST_INTERFACES X_NUCLEO_COMMON_SPI3W
Fork of X_NUCLEO_IKS01A2 by
Diff: XNucleoIKS01A2.cpp
- Revision:
- 17:991f03a4e8b8
- Parent:
- 11:6c2d5fbdab18
- Child:
- 19:bfb25ac47fb5
--- a/XNucleoIKS01A2.cpp Wed May 24 13:22:27 2017 +0000 +++ b/XNucleoIKS01A2.cpp Tue May 30 15:32:58 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, int1, int2)) + acc_gyro(new LSM6DSLSensor(dev_i2c, LSM6DSL_ACC_GYRO_I2C_ADDRESS_HIGH, NC, int1, int2)) { ht_sensor->init(NULL); magnetometer->init(NULL);