Julesnaps / Mbed 2 deprecated Linefollowproject

Dependencies:   m3pi mbed

Revision:
10:9b04c532b57b
Parent:
7:ac88c8e35048
Child:
11:d13596393d56
--- a/main.cpp	Wed Oct 05 11:54:30 2022 +0000
+++ b/main.cpp	Thu Oct 06 11:32:59 2022 +0000
@@ -125,5 +125,13 @@
         m3pi.locate(0,1);
         m3pi.printf("PIT Party");
     }
+}
 
-}
\ No newline at end of file
+
+void LED_Control(int ledNumber, int state){
+    if ledNumber == 1{
+        DigitalOut led1(state);
+    }
+    
+}
+