Algorithmus

Dependencies:   mbed

Revision:
5:e2c0a4388d85
Parent:
4:932eb2d29206
Child:
6:4868f789c223
--- a/main.cpp	Mon Apr 23 12:14:54 2018 +0000
+++ b/main.cpp	Mon Apr 23 17:59:13 2018 +0000
@@ -218,7 +218,7 @@
                 r++;
             
                 motion.scanMove();
-                motion.stop();
+                stop();
                 
             }else if (route[r] == MOVE) {
                 
@@ -235,7 +235,6 @@
                 r++;
             
                 motion.scanMove();
-                motion.stop();
             }
         //No wall right
         }else if (rWall == 0) {