zephyr/samples/sensor/thermometer
Alejandro Hidalgo Muñoz de Rivera 53082e8ce5 samples: Updated README for thermometer sample
Updated README.txt to .rst format.

Signed-off-by: Alejandro Hidalgo Muñoz de Rivera <ahmrivera@gmail.com>
2023-03-21 09:36:17 +01:00
..
src
CMakeLists.txt
prj.conf
README.rst samples: Updated README for thermometer sample 2023-03-21 09:36:17 +01:00
sample.yaml

.. _thermometer-samples:

Thermometer sample
##################

Overview
********

A simple thermometer example, which writes the temperature to the console once per second.

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

It can be built and executed on bbc_microbit as follows:

.. zephyr-app-commands::
	:zephyr-app: samples/sensor/thermometer
	:board: bbc_microbit
	:goals: build
	:compact:

Sample Output
=============

.. code-block:: console

	Thermometer Example!
	arm temp device is 0x20000184, name is TEMP_0
	Temperature is 29.5C
	Temperature is 29.5C
	Temperature is 29.5C