Samples that include floating-point format specifications may need cbprintf FP support. Make sure it's available. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| 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