while_Bertl Funktionen mit Task1,3

Dependencies:   mbed

Fork of while_Bertl123 by Julian Roll

Revision:
0:1d90336fdde0
Child:
1:b6d7de0d8613
diff -r 000000000000 -r 1d90336fdde0 NewClass.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NewClass.cpp	Thu Apr 23 12:51:22 2015 +0000
@@ -0,0 +1,30 @@
+#include "mbed.h"
+#include "NewClass.h"
+#include "ur_Bertl.h"
+#include "config.h"
+#include "const.h"
+
+
+
+void NewClass :: ClearAllBeepersToTheWall()
+{
+    PickBeeper();
+    while(FrontIsClear())
+    {  
+        Move();
+        PickBeeper();
+    }
+    
+}
+
+
+void NewClass :: MoveUntilPickBeeper()
+{
+    while(!(NextToABeeper()))
+{
+    Move();
+        
+}
+    PickBeeper();
+    
+}
\ No newline at end of file