|
PebbleOS
|
MEMSIC MMC5603NJ magnetometer driver. More...
Modules | |
| MMC5603NJ registers | |
| MMC5603NJ register map, from the MEMSIC datasheet (Rev. | |
Functions | |
| void | mag_set_rotated (bool rotated) |
| Set whether the watch is mounted rotated 180 degrees. | |
MEMSIC MMC5603NJ magnetometer driver.
Implements Magnetometer. Samples are reported in milligauss, with the axis mapping of the board's magnetometer configuration.
| void mag_set_rotated | ( | bool | rotated | ) |
Set whether the watch is mounted rotated 180 degrees.
When rotated, the X and Y axes of subsequent samples are inverted.
| rotated | true if rotated. |