28 #include <mraa/gpio.h>
53 LPD8806 (uint16_t pixelCount, uint8_t csn);
66 void setPixelColor (uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b);
87 mraa_spi_context m_spi;
88 mraa_gpio_context m_csnPinCtx;
91 uint8_t m_pixelsCount;
93 uint8_t readRegister (uint8_t reg);
94 void writeRegister (uint8_t reg, uint8_t data);
99 mraa_result_t CSOn ();
104 mraa_result_t CSOff ();
C++ API for LPD8806.
Definition: lpd8806.h:44
void setPixelColor(uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b)
Definition: lpd8806.cxx:108
std::string name()
Definition: lpd8806.h:81
~LPD8806()
Definition: lpd8806.cxx:90
uint16_t getStripLength(void)
Definition: lpd8806.cxx:128
LPD8806(uint16_t pixelCount, uint8_t csn)
Definition: lpd8806.cxx:41
void show(void)
Definition: lpd8806.cxx:118