25 #include "upm/iLightController.hpp"
26 #include "mraa/i2c.hpp"
56 LP8860(
int gpioPower,
int i2cBus);
66 void i2cWriteByte(
int reg,
int value);
67 void i2cWriteBuffer(
int reg, uint8_t* buf,
int length);
68 uint8_t i2cReadByte(uint8_t reg);
69 void i2cReadBuffer(
int reg, uint8_t* buf,
int length);
71 void allowMaxCurrent();
const char * getModuleName()
Definition: lp8860.hpp:58
int getBrightness()
Definition: lp8860.cxx:168
ILightController Interface for Light Controllers.
Definition: iLightController.hpp:44
API for LP8860 LED Lighting Controller.
Definition: lp8860.hpp:53
void setPowerOff()
Definition: lp8860.cxx:162
void setPowerOn()
Definition: lp8860.cxx:150
bool isPowered()
Definition: lp8860.cxx:144
void setBrightness(int dutyPercent)
Definition: lp8860.cxx:177