Testverbesserung

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Jannis
Date:
Thu Apr 16 11:52:37 2015 +0000
Commit message:
Testverbesserung

Changed in this revision

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 16 11:52:37 2015 +0000
@@ -0,0 +1,35 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+
+class Task_Bertl : public ur_Bertl
+{public:
+    void Move2Boxes();
+    void TurnRight();
+};
+
+void Task_Bertl :: Move2Boxes()
+{
+    Move();
+    Move();
+}
+
+void Task_Bertl :: TurnRight()
+{
+    TurnLeft();
+    TurnLeft();
+    TurnLeft();
+}
+
+int main()
+{ Task_Bertl Bertl;
+    Bertl.Move2Boxes();
+    Bertl.TurnLeft();
+    Bertl.PickBeeper();
+    Bertl.Move2Boxes();
+    Bertl.TurnLeft();
+    Bertl.PickBeeper();
+    Bertl.Move();
+    Bertl.TurnRight();
+    Bertl.Move2Boxes();
+    Bertl.ShutOff();
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Apr 16 11:52:37 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ur_Bertl.lib	Thu Apr 16 11:52:37 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#66e9a0afcbd6