Maxi Pickl
/
Bertl_uebungen
Clear All Beeper To The Wall
Diff: main.cpp
- Revision:
- 0:407bebd23b26
- Child:
- 1:fe621d794c6c
diff -r 000000000000 -r 407bebd23b26 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 23 12:39:37 2015 +0000 @@ -0,0 +1,32 @@ +/* + Name: main.cpp + Autor: Maximilian Pickl + Datum: 23.04.2015 + Zuletzt geändert: 23.04.2015 +*/ + +#include "mbed.h" +#include "uebungen.h" +#include "ur_Bertl.h" + +int main() +{ + Task_Bertl karel; + + /*while(1) + { + if (!karel.NextToABeeper()) + { + karel.Move(); + } + + if (karel.NextToABeeper()) + { + karel.PickBeeper(); + karel.ShutOff(); + } + }*/ + + karel.ClearAllBeeperToTheWall(); +} +