Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 0:00a73905ec22
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