FastLED
3.10.10
Loading...
Searching...
No Matches
◆
wrap_8bit()
uint8_t wrap_8bit
(
int
i
)
Definition at line
81
of file
Apa102HD.ino
.
81
{
82
// Module % operator here wraps a large "i" so that it is
83
// always in [0, 255] range when returned. For example, if
84
// "i" is 256, then this will return 0. If "i" is 257
85
// then this will return 1. No matter how big the "i" is, the
86
// output range will always be [0, 255]
87
return
i % 256;
88
}
dox
dox
fastled
examples
Apa102HD
Apa102HD.ino
Generated on Fri Nov 20 2026 09:21:56 for FastLED by
1.13.2