Sophia Hölzl / Mbed 2 deprecated WHILE_Task3

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
sophia
Date:
Fri Apr 24 09:17:01 2015 +0000
Commit message:
task3

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
diff -r 000000000000 -r 00a73905ec22 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Apr 24 09:17:01 2015 +0000
@@ -0,0 +1,32 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+
+int main ()
+{
+    
+    ur_Bertl karel;
+    
+  
+    while(!karel.NextToABeeper())
+    {
+        karel.Move();
+    }
+    
+    karel.TurnLeft(); 
+    
+    while(karel.NextToABeeper())
+    {
+        karel.Move();
+    }
+    
+    karel.TurnLeft();
+    karel.TurnLeft();
+    
+    karel.Move();
+    while(karel.NextToABeeper())
+    {
+        karel.Move();
+    }
+     karel.TurnLeft();
+     }
+     
\ No newline at end of file
diff -r 000000000000 -r 00a73905ec22 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Apr 24 09:17:01 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 00a73905ec22 ur_Bertl.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ur_Bertl.lib	Fri Apr 24 09:17:01 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#155ce3832f01