a

Dependencies:   mbed MotorDriver_SU

Revision:
3:e54506c893b7
Parent:
2:b1498967bcb4
Child:
4:02c4de3930a2
--- a/a.cpp	Fri Nov 07 06:48:09 2014 +0000
+++ b/a.cpp	Fri Nov 07 06:55:00 2014 +0000
@@ -36,11 +36,10 @@
                     motor.Drive(1,CW,0);
                     }
                     else  if(sensor3 == 0 && sensor4 == 0){
-                    moter.Lift(0,CW,1500);
+                    lift.Drive(0,CW,1500);
                     motor.Drive(0,CW,0);
                     motor.Drive(1,CW,0);
-                    breake;
-                    }
+                    break;
                     }
                     }
     while(1){
@@ -73,4 +72,5 @@
                     motor.Drive(1,CW,0);
                     }
                     }
-                    }
\ No newline at end of file
+                    }
+                    
\ No newline at end of file