Impelements and integrates DisplayFactory. Further does some refactoring
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user