Arduino - Random
https://www.arduino.cc/en/pmwiki.php?n=Reference/Randoma random number between min and max-1 (long) Note: If it is important for a sequence of values generated by random() to differ, on subsequent executions of a sketch, use randomSeed() to initialize the random number generator with a fairly random input, such as analogRead() on an unconnected pin.
Arduino - Random
www.arduino.cc › en › pmwikia random number between min and max-1 (long) Note: If it is important for a sequence of values generated by random() to differ, on subsequent executions of a sketch, use randomSeed() to initialize the random number generator with a fairly random input, such as analogRead() on an unconnected pin.