move sensor.h to drivers/sensor.h and create a shim for backward-compatibility. No functional changes to the headers. A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES. Related to #16539 Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| README.txt | ||
| sample.yaml | ||
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