Julesnaps / Mbed 2 deprecated Linefollowproject

Dependencies:   m3pi mbed

Revision:
73:0646bad028c5
Parent:
72:fad84371f431
Child:
74:23064681b4f3
Child:
75:b3a43f70e44c
--- a/main.cpp	Tue Oct 25 07:55:44 2022 +0000
+++ b/main.cpp	Tue Oct 25 08:06:57 2022 +0000
@@ -128,15 +128,13 @@
  * LCD_InitialMessages -Prints iniatial secret mission
  */
 void LCD_InitialMessages(void){
-    
-    
+
     m3pi.cls();
     m3pi.locate(0,0);
     m3pi.printf("DESTROY");
     m3pi.locate(0,1);
     m3pi.printf("**CATS**");
     wait(5.0);
-    
     m3pi.cls();
     m3pi.locate(0,0);
     m3pi.printf("%4.4f ",m3pi.battery());
@@ -167,14 +165,14 @@
     m3pi.locate(0,0);
     m3pi.printf("PITSTOP:");
     m3pi.locate(0,1);
-    m3pi.printf("%d", GetNumberofPS() );
+    m3pi.printf("%d", PS_GetNumberofPS() );
 
 }
+
 /**
  * LCD_CountDown - display a countdown
  * @num  The number to count down from-
  */
-
 void LCD_CountDown(int num){
 
     for (int i=num; i>0; i--)
@@ -185,6 +183,7 @@
        wait(1.0);
     }
 }     
+
 /**
  * PS_BatteryTest - Test the batteri voltage if the robot is not headed for pi
  * 
@@ -341,4 +340,4 @@
     fprintf(fptr," %8d      %4.4f      %4.4f \n"  ,count, m3pi.battery(),m3pi.pot_voltage()  );
     fclose(fptr);
 
-}
+}
\ No newline at end of file