while_Bertl Funktionen

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Pouter123
Date:
Thu Apr 23 12:51:22 2015 +0000
Commit message:
while_Bertl

Changed in this revision

NewClass.cpp Show annotated file Show diff for this revision Revisions of this file
NewClass.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
ur_Bertl.lib Show annotated file Show diff for this revision Revisions of this file
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
diff -r 000000000000 -r 1d90336fdde0 NewClass.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NewClass.h	Thu Apr 23 12:51:22 2015 +0000
@@ -0,0 +1,17 @@
+#include "ur_Bertl.h"
+#include "const.h"
+#include "config.h"
+
+#ifndef NEWCLASS
+#define NEWCLASS
+
+class NewClass : public ur_Bertl
+{
+    public:
+        void ClearAllBeepersToTheWall();
+        void MoveUntilPickBeeper();
+    
+    
+};
+
+#endif
\ No newline at end of file
diff -r 000000000000 -r 1d90336fdde0 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 23 12:51:22 2015 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+#include "NewClass.h"
+#include "const.h"
+#include "config.h"
+
+
+int main()
+{
+    NewClass karel;
+    
+
+    
+    
+}
\ No newline at end of file
diff -r 000000000000 -r 1d90336fdde0 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Apr 23 12:51:22 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/433970e64889
\ No newline at end of file
diff -r 000000000000 -r 1d90336fdde0 ur_Bertl.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ur_Bertl.lib	Thu Apr 23 12:51:22 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#07e55b300ff1