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

◆ RGB_BYTE

#define RGB_BYTE ( RO,
X )
Value:
(((RO)>>(3*(2-(X)))) & 0x3)
#define RO(X)
Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) t...

Gets the assigned color channel for a byte's position in the output, using a passed RGB color order.

Parameters
ROthe RGB color order
Xthe byte's position in the output (0-2)
Returns
the color channel for that byte (0 = red, 1 = green, 2 = blue)
See also
EOrder

Definition at line 41 of file pixel_controller.h.