Basic RenBuggy program - Start here with RenBuggy

Dependencies:   SevenSegmentDisplay mbed

Fork of Renbed_Buggy_Basics by Miskin Project

Files at this revision

API Documentation at this revision

Comitter:
MiskinPrj
Date:
Thu Apr 21 14:42:35 2016 +0000
Parent:
2:10c115fb71e2
Commit message:
stop and hold at start of main

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 10c115fb71e2 -r 152595d33544 main.cpp
--- a/main.cpp	Thu Apr 21 13:56:00 2016 +0000
+++ b/main.cpp	Thu Apr 21 14:42:35 2016 +0000
@@ -24,7 +24,7 @@
 
 int main() //int main is run automatically. Place your program here
 {
-    forward(5.5); //move the buggy forward for 5.5 seconds
-    hold(5); //wait for 16 seconds
-    
+    stop();
+    hold(5);
+    forward(10); //move the buggy forward for 10 seconds
 }
\ No newline at end of file