upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
API for LP8860 LED Lighting Controller. More...
The Texas Instrumements LP8860-Q1 Automotive Catalog Low-EMI, High-Performance 4-Channel LED Driver
Public Member Functions | |
LP8860 (int gpioPower, int i2cBus) | |
virtual const char * | getModuleName () |
bool | isPowered () |
void | setPowerOn () |
void | setPowerOff () |
int | getBrightness () |
void | setBrightness (int dutyPercent) |
|
inlinevirtual |
Returns name of module. This is the string in library name after libupm_
Implements IModuleStatus.
|
virtual |
Get power state
std::runtime_error |
Implements ILightController.
|
virtual |
Turn on power
std::runtime_error |
Implements ILightController.
|
virtual |
Turn off power
std::runtime_error |
Implements ILightController.
|
virtual |
Get brightness
std::runtime_error |
Implements ILightController.
|
virtual |
Set brightness
percent | brightness as percentage |
std::runtime_error |
Implements ILightController.