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

◆ operator[]() [2/2]

FASTLED_FORCE_INLINE const uint8_t & CRGB::operator[] ( uint8_t x) const
inline

Array access operator to index into the CRGB object.

Parameters
xthe index to retrieve (0-2)
Returns
the CRGB::raw value for the given index

Definition at line 97 of file crgb.h.

98 {
99 return raw[x];
100 }
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82

References FASTLED_FORCE_INLINE, and x.