29 template <u
int8_t V_IC_1, u
int8_t V_IC_2, u
int8_t V_IC_3>
38 *p++ = (color[V_IC_1] >> 1) | 0x80;
39 *p++ = (color[V_IC_2] >> 1) | 0x80;
40 *p = (color[V_IC_3] >> 1) | 0x80;
48 color[V_IC_1] = (*p++) << 1;
49 color[V_IC_2] = (*p++) << 1;
50 color[V_IC_3] = (*p) << 1;
59 const uint8_t* p =
getPixelAddress(
reinterpret_cast<const uint8_t*
>(pPixels), indexPixel);
61 color[V_IC_1] = (pgm_read_byte(p++)) << 1;
62 color[V_IC_2] = (pgm_read_byte(p++)) << 1;
63 color[V_IC_3] = (pgm_read_byte(p)) << 1;
#define PGM_VOID_P
Definition: NeoUtil.h:42
Definition: Neo3Byte777Feature.h:32
static ColorObject retrievePixelColor_P(PGM_VOID_P pPixels, uint16_t indexPixel)
Definition: Neo3Byte777Feature.h:56
static void applyPixelColor(uint8_t *pPixels, uint16_t indexPixel, ColorObject color)
Definition: Neo3Byte777Feature.h:34
static ColorObject retrievePixelColor(const uint8_t *pPixels, uint16_t indexPixel)
Definition: Neo3Byte777Feature.h:43
Definition: NeoByteElements.h:101
static uint8_t * getPixelAddress(uint8_t *pPixels, uint16_t indexPixel)
Definition: NeoByteElements.h:43
T_COLOR_OBJECT ColorObject
Definition: NeoByteElements.h:41