mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 10:21:19 +03:00
Removed old interfaces and replaced them with the new ones.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
#define DS1808_GPIO_PWR 15 // Edison GP165
|
||||
|
||||
void
|
||||
printState(upm::ILightController& lightController)
|
||||
printState(upm::DS1808LC& lightController)
|
||||
{
|
||||
if (lightController.isPowered()) {
|
||||
std::cout << "Light is powered, brightness = " << lightController.getBrightness()
|
||||
|
Reference in New Issue
Block a user