![]() |
nrfx 4.5.0
|
The sample demonstrates a functionality of the nrfx_temp driver operating in the blocking mode.
The sample supports the following development kits:
| Board | Support |
|---|---|
| nrf52dk_nrf52832 | Yes |
| nrf52833dk_nrf52833 | Yes |
| nrf52840dk_nrf52840 | Yes |
| nrf5340dk_nrf5340 | Yes |
| nrf54l15dk_nrf54l15 | Yes |
| nrf9160dk_nrf9160 | No |
Application initializes the nrfx_temp driver and starts operating in the blocking mode. Temperature is measured with relevant messages logged until a number of measurements performed is equal to the value specified by the user.
For more information, see TEMP driver - nrfx documentation.
To run this sample, no special configuration is needed. You should monitor the output from the board to check if it is as expected.
To run this sample, build it for the appropriate board and then flash it as per instructions in Building and running section.
You should see the following output:
In the output,
temp_valueshould be displayed as a temperature value in Celsius rounded to two decimal places.