Skip to content

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

ColorOrder daisy::DotStar< Transport >::Config::color_order;

Pixel color channel ordering


variable num_pixels

uint16_t daisy::DotStar< Transport >::Config::num_pixels;

Number of pixels/LEDs (max 64)


variable transport_config

Transport::Config daisy::DotStar< Transport >::Config::transport_config;

Transport-specific configuration


Public Functions Documentation

function Defaults

inline void daisy::DotStar::Config::Defaults () 


The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/dotstar.h