28 lines
466 B
C++
28 lines
466 B
C++
/*
|
|
* Sound.cpp
|
|
*
|
|
* Created on: Aug 2, 2018
|
|
* Author: rhetenor
|
|
*/
|
|
|
|
#include "Sound.h"
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace output
|
|
{
|
|
|
|
Sound::Sound(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, int address, std::string name) :
|
|
output_gpio_interface(output_gpio_interface), address(address), name(name)
|
|
{}
|
|
|
|
void Sound::play()
|
|
{
|
|
// this->output_gpio_interface->activate(this);
|
|
// wait
|
|
// deactivate()
|
|
}
|
|
|
|
} /* namespace output */
|
|
}
|