mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
UART working condition
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "items/vCountDown.h"
|
||||
#include "items/vSensorUltrasonic.h"
|
||||
#include "Telegram.h"
|
||||
#include "SoftUART.h"
|
||||
|
||||
void not_async_actions();
|
||||
|
||||
@@ -91,6 +92,9 @@ void setup() {
|
||||
SerialPrint("I", F("Bus"), F("Bus Init"));
|
||||
busInit();
|
||||
|
||||
SerialPrint("I", F("UART"), F("UART Init"));
|
||||
uartInit();
|
||||
|
||||
#ifdef SSDP_ENABLED
|
||||
SerialPrint("I", F("SSDP"), F("Ssdp Init"));
|
||||
SsdpInit();
|
||||
@@ -155,6 +159,8 @@ void loop() {
|
||||
|
||||
handleTelegram();
|
||||
|
||||
uartHandle();
|
||||
|
||||
if (myLogging != nullptr) {
|
||||
for (unsigned int i = 0; i < myLogging->size(); i++) {
|
||||
myLogging->at(i).loop();
|
||||
|
||||
Reference in New Issue
Block a user