1.. zephyr:code-sample:: max30101 2 :name: MAX30101 Heart Rate Sensor 3 :relevant-api: sensor_interface 4 5 Get heart rate data from a MAX30101 sensor (polling mode). 6 7Overview 8******** 9 10A sensor application that demonstrates how to poll data from the max30101 heart 11rate sensor. 12 13Building and Running 14******************** 15 16This project configures the max30101 sensor on the :ref:`hexiwear` board to 17enable the green LED and measure the reflected light with a photodiode. The raw 18ADC data prints to the console. Further processing (not included in this 19sample) is required to extract a heart rate signal from the light measurement. 20 21.. zephyr-app-commands:: 22 :zephyr-app: samples/sensor/max30101 23 :board: hexiwear/mk64f12 24 :goals: build 25 :compact: 26 27Sample Output 28============= 29 30.. code-block:: console 31 32 GREEN=5731 33 GREEN=5750 34 GREEN=5748 35 GREEN=5741 36 GREEN=5735 37 GREEN=5737 38 GREEN=5736 39 GREEN=5748 40 41<repeats endlessly> 42