Struct daisy::DotStar::Config¶
ClassList > daisy > DotStar > Config
Public Types¶
Type | Name |
---|---|
enum uint8_t | ColorOrder |
Public Attributes¶
Type | Name |
---|---|
ColorOrder | color_order |
uint16_t | num_pixels |
Transport::Config | transport_config |
Public Functions¶
Type | Name |
---|---|
void | Defaults () |
Public Types Documentation¶
enum ColorOrder¶
enum daisy::DotStar::Config::ColorOrder {
RGB = ((0 << 4) | (1 << 2) | (2)),
RBG = ((0 << 4) | (2 << 2) | (1)),
GRB = ((1 << 4) | (0 << 2) | (2)),
GBR = ((2 << 4) | (0 << 2) | (1)),
BRG = ((1 << 4) | (2 << 2) | (0)),
BGR = ((2 << 4) | (1 << 2) | (0))
};
Public Attributes Documentation¶
variable color_order¶
Pixel color channel ordering
variable num_pixels¶
Number of pixels/LEDs (max 64)
variable transport_config¶
Transport-specific configuration
Public Functions Documentation¶
function Defaults¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/dotstar.h