|
PebbleOS v4.47.0
|
Simulated magnetometer, measuring the field pbl_mag_sim_set() sets. More...
Macros | |
| #define | SIM_MAG (&pbl_mag_sim) |
| The simulated magnetometer. | |
Functions | |
| void | pbl_mag_sim_set (const struct pbl_mag *mag, const MagData *field) |
| Set the magnetic field the magnetometer measures. | |
Simulated magnetometer, measuring the field pbl_mag_sim_set() sets.
While sampling, the field is reported once per sampling interval. It is zero until set.
| #define SIM_MAG (&pbl_mag_sim) |
The simulated magnetometer.