Jannis Marinitsch
/
Test_Verbesserung_09_04_2015
Testverbesserung
Revision 0:7c1877ecf263, committed 2015-04-16
- Comitter:
- Jannis
- Date:
- Thu Apr 16 11:52:37 2015 +0000
- Commit message:
- Testverbesserung
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 16 11:52:37 2015 +0000 @@ -0,0 +1,35 @@ +#include "mbed.h" +#include "ur_Bertl.h" + +class Task_Bertl : public ur_Bertl +{public: + void Move2Boxes(); + void TurnRight(); +}; + +void Task_Bertl :: Move2Boxes() +{ + Move(); + Move(); +} + +void Task_Bertl :: TurnRight() +{ + TurnLeft(); + TurnLeft(); + TurnLeft(); +} + +int main() +{ Task_Bertl Bertl; + Bertl.Move2Boxes(); + Bertl.TurnLeft(); + Bertl.PickBeeper(); + Bertl.Move2Boxes(); + Bertl.TurnLeft(); + Bertl.PickBeeper(); + Bertl.Move(); + Bertl.TurnRight(); + Bertl.Move2Boxes(); + Bertl.ShutOff(); +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 16 11:52:37 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0 \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ur_Bertl.lib Thu Apr 16 11:52:37 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#66e9a0afcbd6