Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ReferredCoursework2016 by
Revision 15:472cf58b9c11, committed 2015-05-27
- Comitter:
- Wolfgang Betz
- Date:
- Wed May 27 11:56:24 2015 +0200
- Parent:
- 14:298bc52b4a70
- Child:
- 16:7bc5a9f7db3a
- Child:
- 17:d1d806f014f5
- Commit message:
- Refine board's component types
Changed in this revision
| x_nucleo_iks01a1.cpp | Show annotated file Show diff for this revision Revisions of this file |
| x_nucleo_iks01a1.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/x_nucleo_iks01a1.cpp Fri May 22 11:42:07 2015 +0200 +++ b/x_nucleo_iks01a1.cpp Wed May 27 11:56:24 2015 +0200 @@ -38,10 +38,6 @@ /* Includes ------------------------------------------------------------------*/ #include "mbed.h" #include "x_nucleo_iks01a1.h" -#include "hts221/hts221_class.h" -#include "lis3mdl/lis3mdl_class.h" -#include "lps25h/lps25h_class.h" -#include "lsm6ds0/lsm6ds0_class.h" /* Static variables ----------------------------------------------------------*/ X_NUCLEO_IKS01A1* X_NUCLEO_IKS01A1::_instance = NULL;
--- a/x_nucleo_iks01a1.h Fri May 22 11:42:07 2015 +0200 +++ b/x_nucleo_iks01a1.h Wed May 27 11:56:24 2015 +0200 @@ -43,11 +43,11 @@ /* Includes ------------------------------------------------------------------*/ #include "mbed.h" #include "x_nucleo_iks01a1_targets.h" +#include "hts221/hts221_class.h" +#include "lis3mdl/lis3mdl_class.h" +#include "lps25h/lps25h_class.h" +#include "lsm6ds0/lsm6ds0_class.h" #include "DevI2C.h" -#include "Common/HumTemp.h" -#include "Common/Magneto.h" -#include "Common/Pressure.h" -#include "Common/Imu6Axes.h" /* Classes -------------------------------------------------------------------*/ /** Class X_NUCLEO_IKS01A1 is intended to represent the MEMS Inertial & Environmental @@ -90,10 +90,10 @@ DevI2C *dev_i2c; - HumTemp &ht_sensor; - Magneto &magnetometer; - Pressure &pressure_sensor; - Imu6Axes &gyroscope; + HTS221 &ht_sensor; + LIS3MDL &magnetometer; + LPS25H &pressure_sensor; + LSM6DS0 &gyroscope; private: static X_NUCLEO_IKS01A1 *_instance;