* more experiments

This commit is contained in:
Scott Powell 2025-03-25 01:26:46 +11:00
parent 7bd7bfb14a
commit 8355543366
6 changed files with 112 additions and 7 deletions

View file

@ -543,7 +543,11 @@ void setup() {
#ifdef WRAPPER_CLASS
fast_rng.begin(radio.random(0x7FFFFFFF));
#else
fast_rng.begin(rand());
char c = 0;
while (c != '\n') { // wait for ENTER to be pressed
if (Serial.available()) c = Serial.read();
}
fast_rng.begin(millis());
#endif
#if defined(NRF52_PLATFORM)