FastLED
3.9.15
Loading...
Searching...
No Matches
◆
random16()
[3/3]
u16 fl::fl_random::random16
(
u16
n
)
inline
Generate a 16-bit random number in the range [0, n)
Parameters
n
The upper bound (exclusive)
Returns
A random 16-bit number from 0 to n-1
Definition at line
143
of file
random.h
.
143
{
144
return
static_cast<
u16
>
((*this)(n));
145
}
fl
fl_random
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2