Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Benjamin Cabé d885957fe8 boards: nxp: adopt new zephyr:board directive and role 9 months ago
..
boards
src
CMakeLists.txt
README.rst boards: nxp: adopt new zephyr:board directive and role 9 months ago
prj.conf
sample.yaml

README.rst

.. zephyr:code-sample:: tmp112
:name: TMP112 Temperature Sensor
:relevant-api: sensor_interface

Get temperature data from a TMP112 sensor (polling & trigger mode).

Overview
********

A sample showing how to use the :dtcompatible:`ti,tmp112` sensor.

Requirements
************

A board with this sensor built in to its :ref:`devicetree <dt-guide>`, or a
devicetree overlay with such a node added.

Building and Running
********************

To build and flash the sample for the :zephyr:board:`frdm_k64f`:

.. zephyr-app-commands::
:zephyr-app: samples/sensor/tmp112
:board: frdm_k64f
:goals: build flash
:compact: