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

◆ operator=() [5/6]

CRGBPalette16 & CRGBPalette16::operator= ( const TProgmemRGBPalette16 & rhs)
inline

Create palette from palette stored in PROGMEM.

Definition at line 1085 of file colorutils.h.

1086 {
1087 for( uint8_t i = 0; i < 16; ++i) {
1088 entries[i] = FL_PGM_READ_DWORD_NEAR( rhs + i);
1089 }
1090 return *this;
1091 }
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 CRGBPalette16(), entries, and FL_PGM_READ_DWORD_NEAR.

+ Here is the call graph for this function: