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 89 of file crgb.h.

90 {
91 return raw[x];
92 }
int x
Definition Audio.ino:71

References FASTLED_FORCE_INLINE, and x.