ping + display on

Dependencies:   DigitDisplay Motor PID Ping mbed millis

Fork of MainProgram_BaseBaru_20Feb by KRAI 2017

Revision:
35:69a47b4cb3fc
Parent:
34:1cfd9b1c7d27
Child:
36:5963c9a49485
--- a/main.cpp	Tue Feb 14 13:56:53 2017 +0000
+++ b/main.cpp	Tue Feb 14 14:50:59 2017 +0000
@@ -361,7 +361,6 @@
 {
     if (isLauncher)
     {
-        startMillis();
         currentMillis  = millis();
         currentMillis2 = millis();
         
@@ -418,6 +417,7 @@
     setCenter();
     wait_ms(500);
     pc.printf("ready....");
+    startMillis();
     while(1)
     {
         // Interrupt Serial