upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
API for HLG-150H Lighting Power Supply Controller. More...
The Mean Well HLG-150H 150W Single Output Switching Power Supply
Public Member Functions | |
HLG150H (int pinRelay, int pinPWM) | |
virtual int | getBrightness () |
const char * | getModuleName () |
void | setPowerOn () |
void | setPowerOff () |
bool | isPowered () |
void | setBrightness (int dutyPercent) |
|
virtual |
Get brightness
std::runtime_error |
Implements ILightController.
|
inlinevirtual |
Returns name of module. This is the string in library name after libupm_
Implements IModuleStatus.
|
virtual |
Turn on power
std::runtime_error |
Implements ILightController.
|
virtual |
Turn off power
std::runtime_error |
Implements ILightController.
|
virtual |
Get power state
std::runtime_error |
Implements ILightController.
|
virtual |
Set brightness
percent | brightness as percentage |
std::runtime_error |
Implements ILightController.