some logs

This commit is contained in:
Jonas Zeunert
2018-12-19 23:28:13 +01:00
parent 423fb50096
commit bc35bcbea6
15 changed files with 57 additions and 20 deletions

View File

@@ -7,6 +7,8 @@
#include "Lamp.h"
#include "utility/config.h"
namespace flippR_driver
{
namespace output
@@ -18,7 +20,9 @@ namespace detail
Lamp::Lamp(std::shared_ptr<DriverBoardPinController> pin_controller, uint8_t address, std::string name) :
DriverBoardItem(std::move(pin_controller), address, std::move(name)), activated(false)
{}
{
CLOG(INFO, OUTPUT_LOGGER) << "Created lamp " << name << " with address " << address;
}
void Lamp::activate()
{