modm API documentation
modm::Apa102< SpiMaster, LEDs > Class Template Reference

Public Member Functions

void clear ()
 
bool setColorBrightness (size_t index, const color::Rgb &color, uint8_t brightness)
 
bool setColor (size_t index, const color::Rgb &color)
 
color::Rgb getColor (size_t index) const
 
void setBrightness (size_t index, uint8_t brightness)
 
uint8_t getBrightness (size_t index) const
 
modm::ResumableResult< void > write ()
 

Static Public Attributes

static constexpr size_t size = LEDs
 

Protected Member Functions

uint8_t data[length] modm_aligned (4)
 

Static Protected Attributes

static constexpr size_t length = 4 + 4*LEDs + ((LEDs+15)/16)
 

The documentation for this class was generated from the following file: