This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Files at this revision

API Documentation at this revision

Comitter:
rsavitski
Date:
Sat Apr 13 22:42:01 2013 +0000
Parent:
58:ff2121f34e3b
Child:
65:4709ff6c753c
Commit message:
tmp

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Apr 13 22:20:05 2013 +0000
+++ b/main.cpp	Sat Apr 13 22:42:01 2013 +0000
@@ -39,7 +39,8 @@
     //motorencodetest();
     //motorencodetestline();
     //motorsandservostest();
-    //armtest();
+    armtest();
+    while(1);
     //motortestline();
     //ledtest();
     //phototransistortest();
@@ -251,10 +252,10 @@
     Arm white(p26), black(p25, false, 0.0005, 180);
     while(true) {
         white(0);
-        black(0);
+        black(0.2);
         wait(1);
         white(1);
-        black(1);
+        black(0.8);
         wait(1);
     }
 }