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

◆ next_random16()

u16 fl::fl_random::next_random16 ( )
inlineprivate

Generate next 16-bit random number using this instance's seed.

Returns
The next 16-bit random number

Definition at line 27 of file random.h.

27 {
29 return seed_;
30 }
u16 seed_
The current seed state for this instance.
Definition random.h:23
#define APPLY_FASTLED_RAND16_2053(x)
Multiplies a value by the pseudo-random multiplier.
Definition random8.h:38
#define FASTLED_RAND16_13849
Increment value for pseudo-random number generation.
Definition random8.h:31

References APPLY_FASTLED_RAND16_2053, FASTLED_RAND16_13849, and seed_.

Referenced by next_random32(), random16(), and random8().

+ Here is the caller graph for this function: