README.md
1# TEMP non-blocking {#temp_non_blocking}
2
3The sample demonstrates a functionality of the nrfx_temp driver operating in the non-blocking mode.
4
5## Requirements
6
7The sample supports the following development kits:
8
9| **Board** | **Support** |
10|---------------------|:-----------:|
11| nrf52dk_nrf52832 | Yes |
12| nrf52833dk_nrf52833 | Yes |
13| nrf52840dk_nrf52840 | Yes |
14| nrf5340dk_nrf5340 | Yes |
15| nrf9160dk_nrf9160 | No |
16
17## Overview
18
19Application initializes the nrfx_temp driver.
20The @p temp_handler() is executed with relevant messages logged until a number of measurements performed is equal to the value specified by the user.
21
22> For more information, see **TEMP driver - nrfx documentation**.
23
24## Wiring
25
26To run this sample, no special configuration is needed.
27You should monitor the output from the board to check if it is as expected.
28
29## Building and running
30
31To run this sample, build it for the appropriate board and then flash it as per instructions in [Building and running](@ref building_and_running) section.
32
33## Sample output
34
35You should see the following output:
36
37```
38- "Starting nrfx_temp non-blocking example."
39- "Measured temperature: <temp_value> [C]"
40- "Measured temperature: <temp_value> [C]"
41- "Measured temperature: <temp_value> [C]"
42- "Measured temperature: <temp_value> [C]"
43- "Measured temperature: <temp_value> [C]"
44```
45> In the output, `temp_value` should be displayed as a temperature value in Celsius rounded to two decimal places.
46
47[//]: #
48[Building and running]: <../../../README.md#building-and-running>
49