1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Move example EEPROM address for RNG from 500 to 950

This commit is contained in:
Rhys Weatherley
2015-05-03 14:25:20 +10:00
parent 2e64f4bec9
commit 3b4a928457
5 changed files with 8 additions and 8 deletions

View File

@@ -112,8 +112,8 @@ all of the application's noise sources:
\code
void setup() {
// Initialize the random number generator with the application tag
// "MyApp 1.0" and load the previous seed from EEPROM address 500.
RNG.begin("MyApp 1.0", 500);
// "MyApp 1.0" and load the previous seed from EEPROM address 950.
RNG.begin("MyApp 1.0", 950);
// Add the noise source to the list of sources known to RNG.
RNG.addNoiseSource(noise);
@@ -132,7 +132,7 @@ those can be mixed in during the setup() function after calling begin():
\code
void setup() {
RNG.begin("MyApp 1.0", 500);
RNG.begin("MyApp 1.0", 950);
RNG.stir(serial_number, sizeof(serial_number));
RNG.stir(mac_address, sizeof(mac_address));
RNG.addNoiseSource(noise);