25 #include "upm/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:50
bool isPowered()
Definition: ds1808lc.cxx:30
const char * getModuleName()
Definition: ds1808lc.hpp:60
void setPowerOff()
Definition: ds1808lc.cxx:44
void setBrightness(int dutyPercent)
Definition: ds1808lc.cxx:62
ILightController Interface for Light Controllers.
Definition: iLightController.hpp:44
API for DS1808 Dual Log Digital Potentiometer as a Light Controller.
Definition: ds1808lc.hpp:53
void setPowerOn()
Definition: ds1808lc.cxx:35