![]() |
nRF5 SDK
v13.0.0
|
Choose documentation: | nRF5 SDK | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API |
The Random Number Generator Example demonstrates the use of the RNG driver by obtaining a vector of random numbers and printing the numbers in a COM listener (for example PUTTY) using UART.
The application starts by configuring app_uart and the RNG driver. The main loop prints the vector of random numbers and waits for 100 milliseconds.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\rng
Test the Random Number Generator Example application by performing the following steps: