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

◆ operator=() [7/8]

CRGBPalette32 & CRGBPalette32::operator= ( const TProgmemRGBPalette32 & rhs)
inline

Create palette from palette stored in PROGMEM.

Definition at line 1523 of file colorutils.h.

1524 {
1525 for( uint8_t i = 0; i < 32; ++i) {
1526 entries[i] = FL_PGM_READ_DWORD_NEAR( rhs + i);
1527 }
1528 return *this;
1529 }
CRGB entries[32]
the color entries that make up the palette
#define FL_PGM_READ_DWORD_NEAR(x)
Read a double word (32-bit) from PROGMEM memory.

References CRGBPalette32(), entries, and FL_PGM_READ_DWORD_NEAR.

+ Here is the call graph for this function: