zephyr/samples/drivers/random
Marcus Shawcroft c66adc646d samples: Add random driver sample.
Change-Id: If0552cbd478e49c71bbfa02448113a3a0e3b4463
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-12-24 16:40:11 +00:00
..
src samples: Add random driver sample. 2016-12-24 16:40:11 +00:00
Makefile samples: Add random driver sample. 2016-12-24 16:40:11 +00:00
README.txt samples: Add random driver sample. 2016-12-24 16:40:11 +00:00
prj.conf samples: Add random driver sample. 2016-12-24 16:40:11 +00:00
testcase.ini samples: Add random driver sample. 2016-12-24 16:40:11 +00:00

README.txt

Title: Random

Description:

A simple random number generation example

--------------------------------------------------------------------------------

Building and Running Project:

This project writes an infinite series of random numbers to the
console, 10 per second.

It can be built and executed on frdm_k64f as follows:

    make

Sample Output:

Random Example! arm
random device is 0x2000008c, name is RANDOM_0
  0xd7  0x42  0xb0  0x7b  0x56  0x3b  0xc3  0x43  0x8a  0xa3
  0xfa  0xec  0xd8  0xc3  0x36  0xf8  0x7b  0x82  0x2b  0x39