![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Beeper Aufheben.
Diff: main.cpp
- Revision:
- 0:3b725630f967
diff -r 000000000000 -r 3b725630f967 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 23 12:07:54 2015 +0000 @@ -0,0 +1,17 @@ +#include "mbed.h" +#include "ur_Bertl.h" +#include "const.h" + +int main() +{ + ur_Bertl karel; + + if ( !karel.NextToABeeper()) + karel.Move(); + if ( !karel.NextToABeeper()) + karel.Move(); + if ( !karel.NextToABeeper()) + karel.Move(); + karel.PickBeeper(); + +}