daisy::DotStar::Config¶
#include <dotstar.h>
Public Types¶
Name | |
---|---|
enum uint8_t | ColorOrder { RGB = ((0 << 4) |
Public Functions¶
Name | |
---|---|
void | Defaults() |
Public Attributes¶
Name | |
---|---|
Transport::Config | transport_config |
ColorOrder | color_order |
uint16_t | num_pixels |
Public Types Documentation¶
enum ColorOrder¶
Enumerator | Value | Description |
---|---|---|
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 Functions Documentation¶
function Defaults¶
Public Attributes Documentation¶
variable transport_config¶
Transport-specific configuration
variable color_order¶
Pixel color channel ordering
variable num_pixels¶
Number of pixels/LEDs (max 64)
Updated on 2024-01-03 at 19:41:00 +0000