FastLED 3.9.15
Loading...
Searching...
No Matches

◆ random16() [3/3]

LIB8STATIC uint16_t random16 ( uint16_t min,
uint16_t lim )

Generate an 16-bit random number in the given range.

Parameters
minthe lower bound for the random number, inclusive
limthe upper bound for the random number, exclusive

Definition at line 88 of file random8.h.

88 {
89 uint16_t delta = lim - min;
90 uint16_t r = random16(delta) + min;
91 return r;
92}
LIB8STATIC uint16_t random16()
Generate a 16-bit random number.
Definition random8.h:54

References LIB8STATIC, and random16().

+ Here is the call graph for this function: