27 #include <mraa/aio.hpp>
29 #include <mraa/gpio.hpp>
31 #include <mraa/spi.hpp>
68 LPD8806 (uint16_t pixelCount, uint8_t csn);
82 void setPixelColor (uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b);
104 mraa::Gpio m_csnPinCtx;
107 uint8_t m_pixelsCount;
109 uint8_t readRegister (uint8_t reg);
110 void writeRegister (uint8_t reg, uint8_t data);
115 mraa::Result CSOn ();
120 mraa::Result CSOff ();
API for the LPD8806 RGB LED Strip Controller.
Definition: lpd8806.h:59
void setPixelColor(uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b)
Definition: lpd8806.cxx:82
std::string name()
Definition: lpd8806.h:97
~LPD8806()
Definition: lpd8806.cxx:75
uint16_t getStripLength(void)
Definition: lpd8806.cxx:102
LPD8806(uint16_t pixelCount, uint8_t csn)
Definition: lpd8806.cxx:35
void show(void)
Definition: lpd8806.cxx:92