WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
RGBOrderEnum.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace DirectOutput.Cab.Toys.Layer
7 {
12  public enum RGBOrderEnum
13  {
17  RGB = 1,
21  RBG = 2,
25  GRB = 3,
29  WS2812 = 3,
33  GBR = 4,
37  BRG = 5,
41  BGR = 6
42  }
43 }
WS2812 led chip (uses green - red - blue color order)
RGBOrderEnum
Enum used to define the order of the colors of a multicolor element (e.g. RGB led). Depending on the connection of the multi color element, the order of the colors does maybe not match the default Red - Green - Blue order (e.g. addressable WS2812 led chips are using Green - Red - Blue).
Definition: RGBOrderEnum.cs:12
Green - Red - Blue (WS2812 led chips are using the scheme)
Red-Green-Blue (usual color order)