2019-2020 LIS2MDL Magnetometer Project
Dependencies: X_NUCLEO_IKS01A3
Diff: main.cpp
- Revision:
- 10:0f471469279a
- Parent:
- 9:1534c762ca3b
- Child:
- 11:b16d3b1a061e
--- a/main.cpp Tue Sep 17 14:01:55 2019 +0000 +++ b/main.cpp Mon Sep 23 13:07:49 2019 +0000 @@ -49,7 +49,7 @@ #include "stm32l0xx_hal_flash.h" /* Defines */ -#define FS 12.5 // Sampling frequency (Hz) +#define FS 12.5 // Readout frequency (Hz) #define LIS2MDL_ODR 50.0 // Output data rate (10, 20, 50 or 100 Hz) #define LIS2MDL_LP 0 // Power mode (0 for high-resolution mode, 1 for low-power mode)