2Leds

Dependencies:   mbed

de_Bertl.cpp

Committer:
mpickl
Date:
2015-03-26
Revision:
1:8dbdcd41a812
Parent:
0:a688e3381853

File content as of revision 1:8dbdcd41a812:

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

//class de_Bertl : public ur_Bertl 

void de_Bertl :: Bewege()   // Definieren
{
    Move();    
}

void de_Bertl :: DreheLinks()
{
    TurnLeft();    
}

void de_Bertl :: Turn2LedsOn()
{
    TurnLedOn(LED_FL1 | LED_FR1); // OR-Verknüpfung
    // 0000 0001
    // 0000 0100        OR
    // 0000 0101    5 oder 0x5   
}