Railway Challenge / Mbed OS challenge-2022Fork_speedcontrollimit

Dependencies:   millis

Files at this revision

API Documentation at this revision

Comitter:
cdevarakonda
Date:
Wed Apr 13 08:42:27 2022 +0000
Parent:
3:32e951e05a5b
Child:
5:1911475688a8
Commit message:
Updated display function invoking to under comms good check (line 358)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Apr 12 17:19:05 2022 +0000
+++ b/main.cpp	Wed Apr 13 08:42:27 2022 +0000
@@ -353,9 +353,10 @@
     unsigned long lastErrorMillis = 0;
 
     while(1) {
-        DisplaySerial();//Datalogger Chai Funciton
+        
      
         while(remote.commsGood == true) {
+            DisplaySerial();//Datalogger Chai Funciton
             
             // PING
             remote.commsCheck();