Martina Le
/
Bertl_GoToBeeper
Bertl sucht Beeper auf einer Geraden :)
Revision 0:55344ddc1f92, committed 2015-04-23
- Comitter:
- martinale
- Date:
- Thu Apr 23 12:40:47 2015 +0000
- Commit message:
- Bertl sucht Beeper auf einer Gerade :)
Changed in this revision
diff -r 000000000000 -r 55344ddc1f92 Robot.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Robot.lib Thu Apr 23 12:40:47 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#07e55b300ff1
diff -r 000000000000 -r 55344ddc1f92 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 23 12:40:47 2015 +0000 @@ -0,0 +1,26 @@ +#include "mbed.h" +#include "ur_Bertl.h" +#include "Robot.h" + +int main() +{ + Robot karel; + + while(! karel.NextToABeeper()) + { + karel.Move(); + } + + /* + if(! karel.NextToABeeper()) + karel.Move(); + if(! karel.NextToABeeper()) + karel.Move(); + if(!karel.NextToABeeper()) + karel.Move(); + */ + + karel.PickBeeper(); + +} +
diff -r 000000000000 -r 55344ddc1f92 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 23 12:40:47 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/433970e64889 \ No newline at end of file