Added wiringPi substitute for testing purposes on other systems.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user