From 51058a66f3b9adbdade81df20fac1c4a5e2eeb86 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Thu, 26 Dec 2024 15:40:20 -0500 Subject: [PATCH] last working, full-duplex --- IO_EXIO485.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IO_EXIO485.cpp b/IO_EXIO485.cpp index c44d629..878736c 100644 --- a/IO_EXIO485.cpp +++ b/IO_EXIO485.cpp @@ -87,6 +87,7 @@ void EXIO485::_loop(unsigned long currentMicros) { buffB[2] = (EXIORDAN); addTask(buffB, 3, EXIORDAN); _currentNode = _currentNode->getNext(); + DIAG(F("Polling")); } if ( hasTasks() && _currentMicros - _cycleStartTimeA >= _cycleTime){ @@ -111,7 +112,7 @@ void EXIO485::_loop(unsigned long currentMicros) { if (_txPin != -1) digitalWrite(_txPin,LOW); // delete task command after sending, for now currentTask->rxMode = true; - + DIAG(F("Task")); markTaskCompleted(currentTask->taskID); } }