README.rst
1.. _tmp108_sample:
2
3TMP108 sample
4#############
5
6Description
7***********
8
9This sample writes the temperature to the console once every 3 seconds. There are
10macro definitions included for turning off and on alerts if that is set up, and
11also using low power one shot mode.
12
13Requirements
14************
15
16A board with the :dtcompatible:`ti,tmp108` built in to its :ref:`devicetree <dt-guide>`,
17or a devicetree overlay with such a node added.
18
19Sample Output
20=============
21
22.. code-block:: console
23
24 ** Booting Zephyr OS build zephyr-v2.6.0-1923-g72bb75a360ce ***
25 TI TMP108 Example, arm
26 Temperature is 22.875C
27 Temperature is 22.875C
28 Temperature is 22.875C
29 Temperature is 22.875C
30 Temperature is 22.875C
31 Temperature is 22.875C
32