Added wiringPi substitute for testing purposes on other systems.

This commit is contained in:
Johannes Wendel
2019-07-17 09:36:33 +02:00
parent 5e5c196a25
commit 9cc3a7eb91
6 changed files with 58 additions and 6 deletions

View File

@@ -68,12 +68,18 @@ void OutputDriver::rotate_all_lamps() const
void OutputDriver::activate_all_flipper_relays() const
{
for(auto flipper_relay : this->flippers)
{
flipper_relay.second->activate();
}
}
void OutputDriver::deactivate_all_flipper_relays() const
{
for(auto flipper_relay : this->flippers)
{
flipper_relay.second->deactivate();
}
}
std::vector<std::shared_ptr<Sound>> OutputDriver::get_sounds() const