Control a dual DC motor powered buggy using the BBC MicroBit

Dependencies:   microbit

Revision:
1:e2fc7f9cbdde
Parent:
0:370b7f440dcf
--- a/main.cpp	Thu Jun 09 10:27:13 2016 +0000
+++ b/main.cpp	Wed Jun 22 15:07:04 2016 +0000
@@ -41,9 +41,10 @@
 int main() //int main is run automatically. Place your program here
 {
     stop();
-
-    forward(3); //move the buggy forward for 10 seconds
-    right(2);
-    forward(3);
-    left(4);
+    while(1){
+        forward(6); //move the buggy forward for 10 seconds
+        right(8);
+        forward(5);
+        left(2);
+    }
 } 
\ No newline at end of file