Bertl sucht Beeper auf einer Geraden :)

Dependencies:   mbed

Revision:
0:55344ddc1f92
diff -r 000000000000 -r 55344ddc1f92 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 23 12:40:47 2015 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+#include "Robot.h"
+
+int main()
+{
+    Robot karel;
+
+    while(! karel.NextToABeeper()) 
+    {
+        karel.Move();
+    }
+   
+   /* 
+    if(! karel.NextToABeeper())
+        karel.Move();
+    if(! karel.NextToABeeper())
+        karel.Move();
+    if(!karel.NextToABeeper())
+        karel.Move();
+    */
+        
+    karel.PickBeeper();  
+    
+}
+