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

◆ RO

#define RO ( X)
Value:
RGB_BYTE(RGB_ORDER, X)
#define RGB_BYTE(RO, X)
Gets the assigned color channel for a byte's position in the output, using a passed RGB color order.

Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) template parameter from the LED controller.

Parameters
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 33 of file pixel_controller.h.

Referenced by PixelController< RGB_ORDER, LANES, MASK >::dither(), PixelController< RGB_ORDER, LANES, MASK >::getd(), PixelController< RGB_ORDER, LANES, MASK >::getscale(), PixelController< RGB_ORDER, LANES, MASK >::loadByte(), PixelController< RGB_ORDER, LANES, MASK >::loadByte(), PixelController< RGB_ORDER, LANES, MASK >::preStepFirstByteDithering(), and PixelController< RGB_ORDER, LANES, MASK >::scale().