Arduino’s broken Random()
If you are using your Arduino’s PRNG (Pseudo-Random Number Generator) for anything more serious than flashing random lights for your Christmas decorations, there’s a chance you might run into some unexpected issues, as the random() function in Arduino seems to be somewhat broken. Why? Let me explain. Background Most basic random number generators in programming libraries and platforms are based on what is called […]