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

◆ operator[]() [1/2]

FASTLED_FORCE_INLINE uint8_t & CRGB::operator[] ( uint8_t x)
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 84 of file crgb.h.

85 {
86 return raw[x];
87 }
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80

References FASTLED_FORCE_INLINE, and x.