Skip to content

Commit 10bc1eb

Browse files
chore: add luminosity monitoring task to the system
1 parent 82f8cac commit 10bc1eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

room_control_unit/room_control_unit.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "src/app/io/communication/SerialInterface.h"
1515
#include "src/app/logic/fsm/thmonitoring/TemperatureHumidityMonitoring.h"
1616
#include "src/app/logic/fsm/gatewayexporter/GatewayExporter.h"
17+
#include "src/app/logic/fsm/luminositymonitoring/LuminosityMonitoring.h"
1718

1819
void setup() {
1920
System::getInstance()->init();
@@ -22,6 +23,7 @@ void setup() {
2223

2324
System::getInstance()->addTask(new TemperatureHumidityMonitoring(TEMPERATURE_HUMIDITY_PERIOD, getTemperatureHumidityMonitoringContext(eventList)));
2425
System::getInstance()->addTask(new GatewayExporter(GATEWAY_EXPORTER_PERIOD, getGatewayExporterContext(eventList, SerialInterface::getInstance())));
26+
System::getInstance()->addTask(new LuminosityMonitoring(LUMINOSITY_PERIOD, getLuminosityMonitoringContext(eventList)));
2527
}
2628

2729
void loop() {

0 commit comments

Comments
 (0)