27 #include <mraa/aio.hpp> 29 #include <mraa/gpio.hpp> 31 #include <mraa/spi.hpp> 70 LPD8806 (
int bus,
int csn, uint16_t pixelCount);
84 void setPixelColor (uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b);
110 mraa::Gpio m_csnPinCtx;
113 uint8_t m_pixelsCount;
115 uint8_t readRegister (uint8_t reg);
116 void writeRegister (uint8_t reg, uint8_t data);
121 mraa::Result CSOn ();
126 mraa::Result CSOff ();
API for the LPD8806 RGB LED Strip Controller.
Definition: lpd8806.hpp:60
void setPixelColor(uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b)
Definition: lpd8806.cxx:80
std::string name()
Definition: lpd8806.hpp:99
~LPD8806()
Definition: lpd8806.cxx:73
uint16_t getStripLength(void)
Definition: lpd8806.cxx:100
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
void show(void)
Definition: lpd8806.cxx:90
LPD8806(int bus, int csn, uint16_t pixelCount)
Definition: lpd8806.cxx:35