zephyr/samples/sensor/stm32_temp_sensor
Fabio Baltieri 620bd5d817 samples, tests: fix key-duplicates in sample.yaml files
Fix few duplicate keys warnings in sample.yaml and testcase.yaml files,
this is going to enable some tests that were otherwise being
unintentionally ignored.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-01-04 10:34:18 +01:00
..
boards samples: sensors: Remove label property from devicetree overlays 2022-07-19 08:23:35 -05:00
src includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
CMakeLists.txt
prj.conf sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
README.rst
sample.yaml samples, tests: fix key-duplicates in sample.yaml files 2023-01-04 10:34:18 +01:00

.. _stm32_temp_sensor:

STM32 Temperature Sensor
########################

Overview
********

This sample periodically reads temperature from the STM32 Internal
Temperature Sensor and display the results.

Building and Running
********************

In order to run this sample, make sure to enable ``stm32_temp`` node in your
board DT file.

.. zephyr-app-commands::
   :zephyr-app: samples/sensor/stm32_temp_sensor
   :board: nucleo_f103rb
   :goals: build
   :compact:

Sample Output
=============

.. code-block:: console

    Current temperature: 22.6 °C
    Current temperature: 22.8 °C
    Current temperature: 23.1 °C