zephyr/samples/sensor/magn_polling
Benjamin Björnsson 4ba3e136f1 samples: sensor: bmc150magn: Convert sample to use DEVICE_DT_GET_ONE
Move to use DEVICE_DT_GET_ONE instead of device_get_binding as
we work on phasing out use of DTS 'label' property.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-06-23 16:40:03 -05:00
..
src samples: sensor: bmc150magn: Convert sample to use DEVICE_DT_GET_ONE 2022-06-23 16:40:03 -05:00
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. _magn-polling-sample:

BMC150 Magnetometer Sample
##########################

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).