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