FastLED 3.9.7
Loading...
Searching...
No Matches
eorder.h File Reference

Detailed Description

Defines color channel ordering enumerations.

Definition in file eorder.h.

#include "fl/namespace.h"

Go to the source code of this file.

Enumerations

enum  EOrder {
  RGB =0012 , RBG =0021 , GRB =0102 , GBR =0120 ,
  BRG =0201 , BGR =0210
}
 RGB color channel orderings, used when instantiating controllers to determine what order the controller should send data out in. More...
 
enum  EOrderW {
  W3 = 0x3 , W2 = 0x2 , W1 = 0x1 , W0 = 0x0 ,
  WDefault = W3
}
 

Enumeration Type Documentation

◆ EOrder

enum EOrder

RGB color channel orderings, used when instantiating controllers to determine what order the controller should send data out in.

The default ordering is RGB. Within this enum, the red channel is 0, the green channel is 1, and the blue chanel is 2.

Enumerator
RGB 

Red, Green, Blue (0012)

RBG 

Red, Blue, Green (0021)

GRB 

Green, Red, Blue (0102)

GBR 

Green, Blue, Red (0120)

BRG 

Blue, Red, Green (0201)

BGR 

Blue, Green, Red (0210)

Definition at line 14 of file eorder.h.

◆ EOrderW

enum EOrderW
Enumerator
W3 

White is fourth.

W2 

White is third.

W1 

White is second.

W0 

White is first.

Definition at line 24 of file eorder.h.