Fresh McD
/
Bertl
Test
Revision 1:586339d244ed, committed 2015-05-07
- Comitter:
- chabo
- Date:
- Thu May 07 11:09:47 2015 +0000
- Parent:
- 0:b31a2e59a9f3
- Commit message:
- test2 fehler
Changed in this revision
diff -r b31a2e59a9f3 -r 586339d244ed Bertl.h --- a/Bertl.h Thu May 07 10:47:14 2015 +0000 +++ b/Bertl.h Thu May 07 11:09:47 2015 +0000 @@ -1,6 +1,6 @@ -#include urBertl.h +#include "urBertl.h" -class Bertl: ur_Bertl +class Bertl: urBertl { protected: int anzahl;
diff -r b31a2e59a9f3 -r 586339d244ed LedBertl.h --- a/LedBertl.h Thu May 07 10:47:14 2015 +0000 +++ b/LedBertl.h Thu May 07 11:09:47 2015 +0000 @@ -1,5 +1,5 @@ -#include ur_Bertl -#include Bertl +#include <string> +#include "Bertl.h" class LedBertl:Bertl {
diff -r b31a2e59a9f3 -r 586339d244ed main.cpp --- a/main.cpp Thu May 07 10:47:14 2015 +0000 +++ b/main.cpp Thu May 07 11:09:47 2015 +0000 @@ -1,9 +1,16 @@ #include "mbed.h" +#include "urBertl.h" +#include "Bertl.h" +#include "LedBertl.h" DigitalOut myled(LED1); int main() { - while(1) { - - } + while(1) +{ + urBertl a; + a.Move(); + + } +}
diff -r b31a2e59a9f3 -r 586339d244ed urBertl.h --- a/urBertl.h Thu May 07 10:47:14 2015 +0000 +++ b/urBertl.h Thu May 07 11:09:47 2015 +0000 @@ -1,7 +1,9 @@ -class ur_Bertl + + +class urBertl { public: - void ur_Bertl(); + urBertl(); void Move(); void Move(int anz); void TurnLeft();