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

..--

boards/11-Mar-2024-7056

src/11-Mar-2024-6345

CMakeLists.txtD11-Mar-2024269 107

README.rstD11-Mar-2024774 3323

prj.confD11-Mar-202474 54

sample.yamlD11-Mar-2024395 1615

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