X_NUCLEO_IKS01A3 sensor board modified library

Dependencies:   STTS751 LPS22HH LIS2MDL HTS221 LIS2DW12 LSM6DSO

Dependents:   LELEC2811_LPS22HH_Altimeter LELEC2811_LISDW12_Accelerometer LELEC2811_LIS2MDL_Magnetometer LELEC2811_IKS01A3_Multisensors

Files at this revision

API Documentation at this revision

Comitter:
cparata
Date:
Fri Apr 12 13:28:35 2019 +0000
Parent:
2:eda91ee2023a
Child:
4:40a48140855d
Commit message:
Update default I2C address for STTS751 on X-NUCLEO-IKS01A3

Changed in this revision

XNucleoIKS01A3.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/XNucleoIKS01A3.cpp	Thu Mar 07 08:43:32 2019 +0000
+++ b/XNucleoIKS01A3.cpp	Fri Apr 12 13:28:35 2019 +0000
@@ -53,7 +53,7 @@
     accelerometer(new LIS2DW12Sensor(dev_i2c, LIS2DW12_I2C_ADD_H, lis2dw12_int1)),
     pt_sensor(new LPS22HHSensor(dev_i2c, LPS22HH_I2C_ADD_H, lps22hh_int)),
     acc_gyro(new LSM6DSOSensor(dev_i2c, LSM6DSO_I2C_ADD_H, lsm6dso_int1, lsm6dso_int2)),
-    t_sensor(new STTS751Sensor(dev_i2c, STTS751_0xxxx_ADD_7K5, stts751_int))
+    t_sensor(new STTS751Sensor(dev_i2c, STTS751_1xxxx_ADD_7K5, stts751_int))
 { 
   ht_sensor->init(NULL);
   magnetometer->init(NULL);