• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Aug-2024-177142

src/03-Aug-2024-6345

CMakeLists.txtD03-Aug-2024269 107

README.rstD03-Aug-2024774 3323

prj.confD03-Aug-202474 54

sample.yamlD03-Aug-2024420 1716

README.rst

1.. _die_temp_polling:
2
3CPU Die Temperature polling
4###########################
5
6Overview
7********
8
9This sample periodically reads temperature from the CPU Die
10temperature sensor and display the results.
11
12Building and Running
13********************
14
15To run this sample, enable the sensor node that supports ``SENSOR_CHAN_DIE_TEMP``
16and create an alias named ``die-temp0`` to link to the node.
17The tail ``0`` is the sensor number.  This sample support up to 15 sensors.
18
19.. zephyr-app-commands::
20   :zephyr-app: samples/sensor/die_temp_polling
21   :board: rpi_pico
22   :goals: build
23   :compact:
24
25Sample Output
26=============
27
28.. code-block:: console
29
30    CPU Die temperature[dietemp]: 22.6 °C
31    CPU Die temperature[dietemp]: 22.8 °C
32    CPU Die temperature[dietemp]: 23.1 °C
33