M Seiser
/
GoToBeeper
Move and pick Beeper
Revision 0:ffa002a650be, committed 2015-04-23
- Comitter:
- mSeiser
- Date:
- Thu Apr 23 12:04:06 2015 +0000
- Commit message:
- Move until Beeper, then PickBeeper;
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 |
diff -r 000000000000 -r ffa002a650be main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 23 12:04:06 2015 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "Robot.h" +#include "ur_Bertl.h" + + +int main() +{ + Robot karel; + while(!karel.NextToABeeper()) + { + karel.Move(); + } + karel.PickBeeper(); + +}
diff -r 000000000000 -r ffa002a650be mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 23 12:04:06 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/433970e64889 \ No newline at end of file