mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
upm: enable MMC35240 3-axis magnetic sensor library and example
MMC35240 is 3-axis magnetic sensor from MEMSIC. This sensor can measure magnetic fields within the full scale range of +-24 Gauss (G). The library provided is libupm-mmc35240.so The example provided is mmc35240-example-cxx where it will print x,y,z axis when trigger buffer data is ready. It's also print azimuth value. This sensor requires calibration. Please shake the sensor in figure 8 pattern, mmc35240-example will print the calibrated level. As the sensor data is noisy, we have implemented denoise algorithm within the sensor library. The azimuth formula is provided by Han, He <he.han@intel.com>. Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
4ea01180a1
commit
fabf4287d6
@ -333,6 +333,7 @@ add_example (sensortemplate)
|
||||
add_example (p9813)
|
||||
add_example (abpdrrt005pg2a5)
|
||||
add_example (lcdks)
|
||||
add_example (mmc35240)
|
||||
|
||||
# These are special cases where you specify example binary, source file and module(s)
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src)
|
||||
|
Reference in New Issue
Block a user