Filip Putz
/
Bertl_picBeeper
Beeper Aufheben.
Revision 0:3b725630f967, committed 2015-04-23
- Comitter:
- Putzi
- Date:
- Thu Apr 23 12:07:54 2015 +0000
- Commit message:
- F?hrt 3 Mal bis er einen Beeper aufhebt, oder h?lt nach dem dritten Mal an.
Changed in this revision
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(); + +}
diff -r 000000000000 -r 3b725630f967 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 23 12:07:54 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 3b725630f967 ur_Bertl.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ur_Bertl.lib Thu Apr 23 12:07:54 2015 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#07e55b300ff1