Impelements and integrates DisplayFactory. Further does some refactoring

This commit is contained in:
Johannes Wendel
2020-01-06 12:42:04 +01:00
parent d90e904b4c
commit 4a520fb12a
21 changed files with 192 additions and 127 deletions

View File

@@ -10,7 +10,7 @@
#include "ItemFactory.h"
#include "output/SoundBoardPinController.h"
#include "output/detail/SoundBoardPinController.h"
namespace flippR_driver
{
@@ -23,6 +23,10 @@ public:
explicit SoundFactory(nlohmann::json & object, std::shared_ptr<SoundBoardPinController> pin_controller);
std::map<std::string, std::shared_ptr<items::Item>> getItemMap() override;
private:
void set_fire_pin();
void set_address_pins();
private:
uint8_t deactivation_time;
};