Library I2C pins modification to fit nucleo 32 pins modules
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: STM32_MagneticLight
Fork of X_NUCLEO_IKS01A1 by
Diff: x_nucleo_iks01a1.cpp
- Revision:
- 20:c20c8bd5be6b
- Parent:
- 15:472cf58b9c11
- Child:
- 24:92cc9c6e4b2b
--- a/x_nucleo_iks01a1.cpp Fri May 29 14:23:22 2015 +0200 +++ b/x_nucleo_iks01a1.cpp Fri May 29 16:29:31 2015 +0200 @@ -132,7 +132,7 @@ return false; } - if(magnetometer.Read_M_ID(&m_id) != MAGNETO_OK) + if(magnetometer.ReadID(&m_id) != MAGNETO_OK) { return false; } @@ -205,7 +205,7 @@ return false; } - if(gyroscope.Read_XG_ID(&xg_id) != IMU_6AXES_OK) + if(gyroscope.ReadID(&xg_id) != IMU_6AXES_OK) { return false; }