1.. _stm32_temp_sensor:
2
3STM32 Temperature Sensor
4########################
5
6Overview
7********
8
9This sample periodically reads temperature from the STM32 Internal
10Temperature Sensor and display the results.
11
12Building and Running
13********************
14
15In order to run this sample, make sure to enable ``stm32_temp`` node in your
16board DT file.
17
18.. zephyr-app-commands::
19   :zephyr-app: samples/sensor/stm32_temp_sensor
20   :board: nucleo_f103rb
21   :goals: build
22   :compact:
23
24Sample Output
25=============
26
27.. code-block:: console
28
29    Current temperature: 22.6 °C
30    Current temperature: 22.8 °C
31    Current temperature: 23.1 °C
32