Search found 1 match
- Mon Aug 17, 2020 2:33 pm
- Forum: ESP32 Arduino
- Topic: randomSeed() and repeatable 'random' number on ESP32
- Replies: 1
- Views: 5183
randomSeed() and repeatable 'random' number on ESP32
long randNumber; void setup() { Serial.begin(9600); randomSeed(140584); delay(1000); Serial.println("BEGIN HERE"); Serial.println("----------"); } void loop() { randNumber = random(101010100, 757575759); Serial.println(randNumber); delay(1000); } Hi everyone, I am thoroughly enjoying learning devel...