Magnetometer Sensor

Browse source code on GitHub

Overview

Sample application that periodically reads magnetometer (X, Y, Z) data from the first available device that implements SENSOR_CHAN_MAGN_* (predefined array of device names).

See also

Sensor Interface