25 #include "iLightController.hpp" 26 #include "mraa/i2c.hpp" 68 int getPercentBrightness(uint8_t val1, uint8_t val2);
69 uint8_t getPot1Value(
int dutyPercent);
70 uint8_t getPot2Value(
int dutyPercent);
71 int getScaledResistance(
int dutyPercent);
int getBrightness()
Definition: ds1808lc.cxx:49
bool isPowered()
Definition: ds1808lc.cxx:29
const char * getModuleName()
Definition: ds1808lc.hpp:60
void setPowerOff()
Definition: ds1808lc.cxx:43
void setBrightness(int dutyPercent)
Definition: ds1808lc.cxx:61
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
ILightController Interface for Light Controllers.
Definition: iLightController.hpp:44
API for DS1808 Dual Log Digital Potentiometer as a Light Controller.
Definition: ds1808lc.hpp:54
void setPowerOn()
Definition: ds1808lc.cxx:34