Task1 if

Dependencies:   mbed

main.cpp

Committer:
matthiasdorudi
Date:
2015-04-16
Revision:
1:a64f244ecf78
Parent:
0:42f81496681a

File content as of revision 1:a64f244ecf78:

#include "ur_Bertl.h"
#include "const.h"
#include "mbed.h"
#include "Bertl_Predikatbefehl_LIB.h"

int main(){
    Bertl_Predikatbefehl_LIB Tom;       //Benennen
    
    Tom.Move();

    if (Tom.LeftIsBlocked()){
        Tom.Move();
    }
    else
        Tom.ShutOff();
          
}