mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
Fixed Ultrasonic, Start uart
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "items/vImpulsOut.h"
|
||||
#include "items/vSensorDallas.h"
|
||||
#include "items/vCountDown.h"
|
||||
#include "items/vSensorUltrasonic.h"
|
||||
#include "Telegram.h"
|
||||
|
||||
void not_async_actions();
|
||||
@@ -169,6 +170,11 @@ void loop() {
|
||||
mySensorDallas2->at(i).loop();
|
||||
}
|
||||
}
|
||||
if (mySensorUltrasonic != nullptr) {
|
||||
for (unsigned int i = 0; i < mySensorUltrasonic->size(); i++) {
|
||||
mySensorUltrasonic->at(i).loop();
|
||||
}
|
||||
}
|
||||
if (myCountDown != nullptr) {
|
||||
for (unsigned int i = 0; i < myCountDown->size(); i++) {
|
||||
myCountDown->at(i).loop();
|
||||
|
||||
Reference in New Issue
Block a user