Versuch 1

Dependencies:   mbed

Fork of Beeper_Test by Dominik Weiss

Committer:
Dominik32
Date:
Thu Apr 23 12:33:34 2015 +0000
Revision:
2:0e1b409ff333
Parent:
0:363abd3fc535
Liniensensor Versuch 1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Dominik32 0:363abd3fc535 1 #include "mbed.h"
Dominik32 0:363abd3fc535 2 #include "ur_Bertl.h"
Dominik32 0:363abd3fc535 3 #include "const.h"
Dominik32 0:363abd3fc535 4 #include "Alle_Befehle.h"
Dominik32 0:363abd3fc535 5
Dominik32 0:363abd3fc535 6 void Alle_Befehle :: TurnRight()
Dominik32 0:363abd3fc535 7 {
Dominik32 0:363abd3fc535 8 TurnLeft();
Dominik32 0:363abd3fc535 9 TurnLeft();
Dominik32 0:363abd3fc535 10 TurnLeft();
Dominik32 0:363abd3fc535 11 }
Dominik32 0:363abd3fc535 12 void Alle_Befehle :: TurnAround()
Dominik32 0:363abd3fc535 13 {
Dominik32 0:363abd3fc535 14 TurnLeft();
Dominik32 0:363abd3fc535 15 TurnLeft();
Dominik32 0:363abd3fc535 16 }
Dominik32 0:363abd3fc535 17 void Alle_Befehle :: Move2Times()
Dominik32 0:363abd3fc535 18 {
Dominik32 0:363abd3fc535 19 Move();
Dominik32 0:363abd3fc535 20 Move();
Dominik32 0:363abd3fc535 21 }
Dominik32 0:363abd3fc535 22 void Alle_Befehle :: Move4Times()
Dominik32 0:363abd3fc535 23 {
Dominik32 0:363abd3fc535 24 Move();
Dominik32 0:363abd3fc535 25 Move();
Dominik32 0:363abd3fc535 26 Move();
Dominik32 0:363abd3fc535 27 Move();
Dominik32 0:363abd3fc535 28 }
Dominik32 0:363abd3fc535 29 void Alle_Befehle :: FullRotation()
Dominik32 0:363abd3fc535 30 {
Dominik32 0:363abd3fc535 31 TurnLeft();
Dominik32 0:363abd3fc535 32 TurnLeft();
Dominik32 0:363abd3fc535 33 TurnLeft();
Dominik32 0:363abd3fc535 34 TurnLeft();
Dominik32 0:363abd3fc535 35 }