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.
Dependencies: X_NUCLEO_IKS01A3
Revision 14:abc98c6982b5, committed 2019-09-22
- Comitter:
- martlefebvre94
- Date:
- Sun Sep 22 10:32:20 2019 +0000
- Parent:
- 13:b97b8bc67d43
- Child:
- 15:913ecebcc7ed
- Commit message:
- Modification of the sampling frequency
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Sep 17 14:02:37 2019 +0000 +++ b/main.cpp Sun Sep 22 10:32:20 2019 +0000 @@ -54,7 +54,7 @@ // LPS22HH Pressure sensor #define P0 1013.26 // Sea level pressure (hPa) -#define LPS22HH_ODR 1.0 // Output data rate (one-shot, 1, 10, 25, 50, 75, 100, 200 Hz) +#define LPS22HH_ODR 10.0 // Output data rate (one-shot, 1, 10, 25, 50, 75, 100, 200 Hz) #define LPS22HH_LOW_NOISE_EN 1 // Low-noise (0 disabled, 1 enabled) #define LPS22HH_LPF_CFG 3 // Device bandwidth (0 for ODR/2, 2 for ODR/9, 3 for ODR/20) #define LPS22HH_DATA_SIZE 8 // Number of bytes for LPS22HH pressure sensor data