dit is em

Dependencies:   mbed

Revision:
7:ed076babd381
Parent:
6:6659a8ada914
Child:
8:ec7b7c9ad07e
diff -r 6659a8ada914 -r ed076babd381 main.cpp
--- a/main.cpp	Fri Mar 03 08:00:11 2017 +0000
+++ b/main.cpp	Fri Mar 03 08:05:32 2017 +0000
@@ -26,42 +26,7 @@
           Motor4 = 1 ;
           wait_ms (1000);
           }
-          or (Sensor2 >= 100) {
-          Motor1 = 0 ;
-          Motor2 = 1 ;
-          Motor3 = 0 ;
-          Motor4 = 1 ;
-          wait_ms (500);
-          Motor1 = 1 ;
-          Motor2 = 0 ;
-          Motor3 = 0 ;
-          Motor4 = 1 ;
-          wait_ms (1000);
-          }
-          or (Sensor3 >= 100) {
-          Motor1 = 0 ;
-          Motor2 = 1 ;
-          Motor3 = 0 ;
-          Motor4 = 1 ;
-          wait_ms (500);
-          Motor1 = 1 ;
-          Motor2 = 0 ;
-          Motor3 = 0 ;
-          Motor4 = 1 ;
-          wait_ms (1000);
-          }
-          or (Sensor4 >= 100) {
-          Motor1 = 0 ;
-          Motor2 = 1 ;
-          Motor3 = 0 ;
-          Motor4 = 1 ;
-          wait_ms (500);
-          Motor1 = 1 ;
-          Motor2 = 0 ;
-          Motor3 = 0 ;
-          Motor4 = 1 ;
-          wait_ms (1000);
-          }
+          
         else {
           Motor1 = 1 ;
           Motor2 = 0 ;