Changed to work with: http://redbearlab.com/blenano/
Fork of RNG by
Diff: Random.h
- Revision:
- 2:2eb90943983b
- Parent:
- 1:0536a4ca8d35
--- a/Random.h Tue Sep 17 12:35:12 2013 +0000 +++ b/Random.h Tue Sep 17 18:18:15 2013 +0000 @@ -7,15 +7,9 @@ { public : - Random(); - - uint8_t getByte(); - void getBytes(uint8_t *out, uint32_t length); - - private : - - uint8_t pool[16]; - AnalogIn e,f; + static void init(); + static uint8_t getByte(); + static void getBytes(uint8_t *out, uint32_t length); }; #endif