zephyr/samples/sensor/thermometer
Marc Herbert 2cd51a33ce samples: make find_package(Zephyr...) REQUIRED
This provides a better error message when building with CMake and
forgetting ZEPHYR_BASE or not registering Zephyr in the CMake package
registry. See parent commit for more details (split from parent for
better readability).

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2020-05-29 10:47:25 +02:00
..
src device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
CMakeLists.txt samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf samples: Add thermometer 2016-12-11 11:14:06 +00:00
README.txt samples: Add thermometer 2016-12-11 11:14:06 +00:00
sample.yaml x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00

Title: Thermometer

Description:

A simple thermometer example

--------------------------------------------------------------------------------

Building and Running Project:

This project writes the temperature to the console once per second.
It can be built and executed on bbc_microbit as follows:

    make

Sample Output:

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