@@ -65,12 +65,12 @@ The seed value from the write is used as a XOR byte.
6565This one is quite fast and good, and more important portable.
6666- ** uint8_t getMode()** returns the source of randomness.
6767
68- | Mode | DEVRANDOM_MODE | Type |
69- | :-------:| :----------------:| :----------------------|
70- | 0 | build in random | depends on platform
71- | 1 | digitalRead | hardware external
72- | 2 | analogRead | hardware external
73- | 3 | Marsaglia | software portable PRNG
68+ | Mode | DEVRANDOM_MODE | Type |
69+ | :-------:| :----------------:| :----------------------- |
70+ | 0 | build in random | depends on platform |
71+ | 1 | digitalRead | hardware external |
72+ | 2 | analogRead | hardware external |
73+ | 3 | Marsaglia | software portable PRNG |
7474
7575
7676There might be other RNG's in the future.
@@ -79,8 +79,6 @@ If you have an interesting and fast PRNG to be included please let me know.
7979
8080### Obsolete
8181
82- To be obsolete in a next release.
83-
8482- ** useSW()** replaced by ** useRandom()** .
8583- ** useHW(uint8_t pin)** replaced by ** useDigitalRead()** .
8684- ** useAR(uint8_t pin)** replaced by ** useAnalogRead()** .
@@ -93,15 +91,16 @@ See example sketches.
9391
9492### Example
9593
96- As shown in the example one can use fscanf to read larger datatypes ,
94+ As shown in the example one can use fscanf() to read larger data types ,
9795
9896``` cpp
9997 DEVRANDOM dr;
10098 uint32_t x;
10199 fscanf ((FILE* ) &dr, "%lu", &x);
102100 Serial.println(x);
103101```
104- However float is not supported standard in the fscanf by UNO and strings (%s) generate garbage.
102+
103+ However float is not supported standard in the fscanf() by UNO and strings (%s) generate garbage.
105104So a password generator is a bit more difficult (and a good exercise).
106105
107106
0 commit comments