DeutscherRoboter

Dependencies:   mbed

main.cpp

Committer:
fritzhausmann
Date:
2015-04-23
Revision:
0:a99d586ab184

File content as of revision 0:a99d586ab184:

#include "mbed.h"
#include "ur_Bertl.h"
#include "const.h"
#include "Led_Bertl.h"
#include "de_Bertl.h"

// in eigenen Dateien: Klassen-/ Methodendeklaration in de_Bertl.h    Methodendefinition in de_Bertl.cpp

int main()
{
    Led_Bertl karel;
    
    karel.TurnLedOff(0xFF);
    while(karel.WaitUntilButtonPressed()){}
    karel.Turn2LedsOn();
    karel.Bewege();
    karel.Move();
    karel.ShutOff();  
}