Julesnaps / Mbed 2 deprecated Linefollowproject

Dependencies:   m3pi mbed

Revision:
82:f7443adac0c7
Parent:
81:a7a44a0944b5
Child:
83:bc6d7abc1a72
--- a/main.cpp	Tue Oct 25 09:28:05 2022 +0000
+++ b/main.cpp	Tue Oct 25 09:30:25 2022 +0000
@@ -190,27 +190,7 @@
        m3pi.printf("** %d **", i);
        wait(1.0);
     }
-}     
-
-
-void InitialMessage(void){
-    /*Prints iniatl secret mission*/
-    
-    m3pi.cls();
-    m3pi.locate(0,0);
-    m3pi.printf("Destroy");
-    m3pi.locate(0,1);
-    m3pi.printf("cats");
-    wait(200.0);
-    
-    m3pi.cls();
-    m3pi.locate(0,0);
-    m3pi.printf("%f.3 ",m3pi.battery());
-    m3pi.locate(0,1);
-    m3pi.printf("%f.3 ",m3pi.pot_voltage());
-    wait(200.0);
-    m3pi.cls();
-}
+}   
 
 /**
  * PS_BatteryTest - Test the batteri voltage if the robot is not headed for pi
@@ -236,22 +216,6 @@
     return result;
 }
 
-void LED_Control(int ledNumber, int state){
-    //LED1 on if robot is looking for pit
-    if (ledNumber == 1) {
-        led1 = state;
-    }
-    if (ledNumber == 2){
-        led2 = state;
-    }
-    if (ledNumber == 3){
-        led3 = state;
-    }
-    if (ledNumber == 4){
-        led4 = state;
-    }
-}
-
 /**
  * LED_Blink - Make a LED blink
  *@ledNumber - The number of the targeted LED