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

◆ CRGBPalette32() [7/18]

CRGBPalette32::CRGBPalette32 ( const TProgmemRGBPalette32 & rhs)
inline

Create palette from palette stored in PROGMEM.

Definition at line 1516 of file colorutils.h.

1517 {
1518 for( uint8_t i = 0; i < 32; ++i) {
1519 entries[i] = FL_PGM_READ_DWORD_NEAR( rhs + i);
1520 }
1521 }
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 entries, and FL_PGM_READ_DWORD_NEAR.