johnwasser:
This worked for me:typedef struct {
uint8_t red;
uint8_t green;
uint8_t blue;
} WS2801Color;
As @aarg mentioned... this is C++
structs, enums and unions behave like they are typedef'ed by default.
johnwasser:
This worked for me:typedef struct {
uint8_t red;
uint8_t green;
uint8_t blue;
} WS2801Color;
As @aarg mentioned... this is C++
structs, enums and unions behave like they are typedef'ed by default.