Changed to work with: http://redbearlab.com/blenano/
Fork of RNG by
Random.h@3:75b4f86fb3aa, 2015-08-30 (annotated)
- Committer:
- dgomes
- Date:
- Sun Aug 30 01:06:04 2015 +0000
- Revision:
- 3:75b4f86fb3aa
- Parent:
- 2:2eb90943983b
Works on the http://redbearlab.com/blenano/;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
feb11 | 0:299f3795114b | 1 | #ifndef RANDOM_H |
feb11 | 0:299f3795114b | 2 | #define RANDOM_H |
feb11 | 0:299f3795114b | 3 | |
feb11 | 0:299f3795114b | 4 | #include "mbed.h" |
feb11 | 0:299f3795114b | 5 | |
feb11 | 0:299f3795114b | 6 | class Random |
feb11 | 0:299f3795114b | 7 | { |
feb11 | 0:299f3795114b | 8 | public : |
feb11 | 0:299f3795114b | 9 | |
feb11 | 2:2eb90943983b | 10 | static void init(); |
feb11 | 2:2eb90943983b | 11 | static uint8_t getByte(); |
feb11 | 2:2eb90943983b | 12 | static void getBytes(uint8_t *out, uint32_t length); |
feb11 | 0:299f3795114b | 13 | }; |
feb11 | 0:299f3795114b | 14 | |
feb11 | 0:299f3795114b | 15 | #endif |