![](/media/cache/profiles/4cd5a0b6bc293f1e306e0d23170d649c.jpg.50x50_q85.jpg)
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
--- 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;
--- 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 {
--- 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(); + + } +}
--- 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();