zephyr/samples/sensor/thermometer
Tomasz Bursztyka 97326c0445 device: Fix structure attributes access
Since struct devconfig was merged earlier into struct device, let's fix
accessing config_info, name, ... attributes everywhere via:

grep -rlZ 'dev->config->' | xargs -0 sed -i 's/dev->config->/dev->/g'

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-05-08 23:07:44 +02:00
..
src
CMakeLists.txt
README.txt
prj.conf
sample.yaml

README.txt

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