Dependencies:   TextLCD MQTT

Revision:
7:15c2ed6e5162
Parent:
4:ef8866873df5
Child:
8:c40e805eecba
--- a/AccCar.cpp	Wed Dec 11 21:29:48 2019 +0000
+++ b/AccCar.cpp	Thu Dec 12 00:41:58 2019 +0000
@@ -51,8 +51,9 @@
         } else {
             speed = target_speed;
         }
-        
+        printf("Car %d attempting to publish\n", this->id); 
         Communication::publish_car_info(id, position, speed);
+        printf("Car %d published\n", this->id); 
         road->done_flags.set(flag);   
     } while( position < 100 );
 }