25 #include "interfaces/iLightController.hpp" 26 #include "mraa/i2c.hpp" 57 LP8860(
int gpioPower,
int i2cBus);
71 void i2cWriteByte(
int reg,
int value);
72 void i2cWriteBuffer(
int reg, uint8_t* buf,
int length);
73 uint8_t i2cReadByte(uint8_t reg);
74 void i2cReadBuffer(
int reg, uint8_t* buf,
int length);
76 void allowMaxCurrent();
int getBrightness()
Definition: lp8860.cxx:168
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
ILightController Interface for Light Controllers.
Definition: iLightController.hpp:44
API for LP8860 LED Lighting Controller.
Definition: lp8860.hpp:54
void setPowerOff()
Definition: lp8860.cxx:162
virtual const char * getModuleName()
Definition: lp8860.hpp:59
void setPowerOn()
Definition: lp8860.cxx:150
bool isPowered()
Definition: lp8860.cxx:144
void setBrightness(int dutyPercent)
Definition: lp8860.cxx:177