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

..--

boards/04-Jan-2025-1311

src/04-Jan-2025-6851

CMakeLists.txtD04-Jan-2025223 96

README.rstD04-Jan-2025637 2819

prj.confD04-Jan-202569 54

sample.yamlD04-Jan-2025283 1413

README.rst

1.. zephyr:code-sample:: tmp112
2   :name: TMP112 Temperature Sensor
3   :relevant-api: sensor_interface
4
5   Get temperature data from a TMP112 sensor (polling & trigger mode).
6
7Overview
8********
9
10A sample showing how to use the :dtcompatible:`ti,tmp112` sensor.
11
12Requirements
13************
14
15A board with this sensor built in to its :ref:`devicetree <dt-guide>`, or a
16devicetree overlay with such a node added.
17
18Building and Running
19********************
20
21To build and flash the sample for the :zephyr:board:`frdm_k64f`:
22
23.. zephyr-app-commands::
24   :zephyr-app: samples/sensor/tmp112
25   :board: frdm_k64f
26   :goals: build flash
27   :compact:
28