zephyr/samples/sensor/thermometer
Bogdan Davidoaia d4efb9a21f samples: thermometer: use convert to double function from sensor.h
Remove the convert_to_double function and use sensor_value_to_double
from sensor.h.

Change-Id: I92ef4219057f431917f4c8e9d46d4ee2074b423b
Signed-off-by: Bogdan Davidoaia <bogdan.davidoaia@linaro.org>
2017-01-16 13:15:14 +00:00
..
src samples: thermometer: use convert to double function from sensor.h 2017-01-16 13:15:14 +00:00
Makefile samples: Add thermometer 2016-12-11 11:14:06 +00: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
testcase.ini samples: Add thermometer 2016-12-11 11:14:06 +00: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