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

◆ read()

template<fl::size Size>
CRGB fl::anonymous_namespace{colorutils.cpp.hpp}::ProgmemRGBPaletteReader< Size >::read ( fl::u8 index) const
inline

Definition at line 266 of file colorutils.cpp.hpp.

266 {
267 return CRGB(FL_PGM_READ_DWORD_NEAR(entries.data() + index));
268 }
#define FL_PGM_READ_DWORD_NEAR(x)
Read a double word (32-bit) from PROGMEM memory.
fl::CRGB CRGB
Definition video.h:15

References entries, and FL_PGM_READ_DWORD_NEAR.