LED_Programm

Dependencies:   mbed

Revision:
0:c4795d964769
diff -r 000000000000 -r c4795d964769 If_Task.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/If_Task.cpp	Thu Apr 16 11:48:29 2015 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+#include "If_Task.h"
+
+
+void GamePlayer::CaptureTheBeeper()
+{
+  Move();
+  if(NextToABeeper())
+  {
+    PickBeeper();
+    TurnAround();
+  }
+  Move();
+}
+void GamePlayer :: TurnAround()
+{
+    TurnLeft();
+    TurnLeft();
+    
+}
\ No newline at end of file