Maxi Pickl
/
Move_Boxes
Bertl bewegt sich und schaltet LED´s ein.
Diff: Box_Bertl.cpp
- Revision:
- 0:db41dc05d5f6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Box_Bertl.cpp Thu Apr 16 11:58:34 2015 +0000 @@ -0,0 +1,26 @@ +// Name: Box_Bertl.cpp +// Autor: Maximilian Pickl + +#include "mbed.h" +#include "ur_Bertl.h" +#include "Box_Bertl.h" +#include "const.h" + +void Box_Bertl :: Box2() +{ + Move(); + Move(); +} + +void Box_Bertl :: TurnRight() +{ + TurnLeft(); + TurnLeft(); + TurnLeft(); +} + +void Box_Bertl :: LED() +{ + TurnLedOff(LED_ALL); + TurnLedOn(LED_ALL); +} \ No newline at end of file