
CIS441 Proj MS 2b
Diff: main.cpp
- Revision:
- 8:c40e805eecba
- Parent:
- 7:15c2ed6e5162
- Child:
- 9:f5981ced0b47
--- a/main.cpp Thu Dec 12 00:41:58 2019 +0000 +++ b/main.cpp Thu Dec 12 21:51:10 2019 +0000 @@ -58,7 +58,7 @@ printf("\r\n"); road1.check_exit_cars(return_cars); - + time++; // ------------------------------------------------------------------ @@ -69,8 +69,10 @@ // ------------------------------------------------------------------ lcd.cls(); - + + road1.publish_car_info(); Communication::publish_road_ready(); + printf("published car info\r\n"); while(Road::ready(-1) == 0); } while( road1.active_cars > 0x00);