mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 18:31:13 +03:00
Removed old interfaces and replaced them with the new ones.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
b6e53f7da8
commit
34bb12933d
@ -3,13 +3,12 @@
|
||||
#include <string>
|
||||
|
||||
#include "hlg150h.hpp"
|
||||
#include "iLightController.hpp"
|
||||
|
||||
#define HLG150H_GPIO_RELAY 21
|
||||
#define HLG150H_GPIO_PWM 22
|
||||
|
||||
void
|
||||
printState(upm::ILightController& lightController)
|
||||
printState(upm::HLG150H& lightController)
|
||||
{
|
||||
if (lightController.isPowered()) {
|
||||
std::cout << "Light is powered, brightness = " << lightController.getBrightness()
|
||||
|
Reference in New Issue
Block a user