40 lines
597 B
C++
40 lines
597 B
C++
/*
|
|
* Lamp.cpp
|
|
*
|
|
* Created on: Aug 2, 2018
|
|
* Author: rhetenor
|
|
*/
|
|
|
|
#include "Lamp.h"
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace output
|
|
{
|
|
|
|
Lamp::Lamp(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, int i2c_address, int data_pin, std::string name, bool activated) :
|
|
OutputItem(output_gpio_interface, i2c_address, data_pin, name),
|
|
activated(activated)
|
|
{
|
|
// TODO Auto-generated constructor stub
|
|
|
|
}
|
|
|
|
Lamp::~Lamp()
|
|
{
|
|
// TODO Auto-generated destructor stub
|
|
}
|
|
|
|
void Lamp::activate()
|
|
{
|
|
// activate
|
|
}
|
|
|
|
void Lamp::deactivate()
|
|
{
|
|
// deactivate
|
|
}
|
|
|
|
} /* namespace output */
|
|
}
|