move while beeper, pick up beeper

Dependencies:   mbed

Revision:
0:c2175b5f3742
Child:
1:18080d6d4866
diff -r 000000000000 -r c2175b5f3742 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 23 12:04:19 2015 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+#include "const.h"
+
+class IfBertl : public ur_Bertl
+{
+    public:
+ 
+};
+
+int main()
+{
+    IfBertl karel;
+    
+    while(karel.NextToABeeper())
+        karel.Move();
+    karel.PickBeeper();  
+}
\ No newline at end of file