Michael Benedikt
/
TestUebung
TestUebung
Diff: main.cpp
- Revision:
- 0:702a8075c0c6
diff -r 000000000000 -r 702a8075c0c6 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri May 08 07:59:20 2015 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" +#include "ur_Bertl.h" +#include "de_Bertl.h" +#include "LED_Bertl.h" +#include "const.h" + + + + +int main() +{ + LED_Bertl karel; + karel.TurnLedOff(0xFF); + while(karel.WaitUntilButtonPressed()){} + karel.Turn2LedOn(); + karel.Bewege(); + karel.Move(); + karel.Turn2LedOff(); + karel.ShutOff(); +} \ No newline at end of file