From d0c5eb72b15e440eb3896f7e31da6f05e2379ca8 Mon Sep 17 00:00:00 2001 From: Lubos Petrovic Date: Mon, 21 Dec 2020 14:04:52 +0100 Subject: [PATCH] can --- CommObd2Can.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommObd2Can.cpp b/CommObd2Can.cpp index ceb142c..f4d89df 100644 --- a/CommObd2Can.cpp +++ b/CommObd2Can.cpp @@ -76,6 +76,7 @@ void CommObd2Can::mainLoop() { break; delay(10); } + delay(30); } Serial.println(liveData->params.currentTime ); if (lastDataSent != 0 && (unsigned long)(millis() - lastDataSent) > 500) { @@ -104,6 +105,7 @@ void CommObd2Can::executeCommand(String cmd) { String atsh = "0" + liveData->currentAtshRequest.substring(4); // remove ATSH cmd.replace(" ", ""); // remove possible spaces sendPID(liveData->hexToDec(atsh, 2, false), cmd); + delay(40); } /**