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

◆ CRGBPalette16() [7/16]

CRGBPalette16::CRGBPalette16 ( const TProgmemRGBPalette16 & rhs)
inline

Create palette from palette stored in PROGMEM.

Definition at line 1078 of file colorutils.h.

1079 {
1080 for( uint8_t i = 0; i < 16; ++i) {
1081 entries[i] = FL_PGM_READ_DWORD_NEAR( rhs + i);
1082 }
1083 }
CRGB entries[16]
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.