2Leds

Dependencies:   mbed

Committer:
mpickl
Date:
Thu Mar 26 12:35:29 2015 +0000
Revision:
1:8dbdcd41a812
Parent:
0:a688e3381853
de_Bertl

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mpickl 0:a688e3381853 1 #include "mbed.h"
mpickl 0:a688e3381853 2 #include "ur_Bertl.h"
mpickl 0:a688e3381853 3 #include "de_Bertl.h"
mpickl 1:8dbdcd41a812 4 #include "const.h"
mpickl 1:8dbdcd41a812 5 #include "Led_Bertl.h"
mpickl 0:a688e3381853 6
mpickl 0:a688e3381853 7 // In eigene Datein: Klasse-/Methodendeklaration in de_Bertl.h
mpickl 0:a688e3381853 8 // Definition in de_BErtl.cpp
mpickl 0:a688e3381853 9
mpickl 0:a688e3381853 10 int main()
mpickl 0:a688e3381853 11 {
mpickl 1:8dbdcd41a812 12 Led_Bertl karel;
mpickl 0:a688e3381853 13
mpickl 1:8dbdcd41a812 14 karel.TurnLedOff(0xFF);
mpickl 1:8dbdcd41a812 15 while(karel.WaitUntilButtonPressed()){}
mpickl 1:8dbdcd41a812 16 karel.Turn2LedsOn();
mpickl 0:a688e3381853 17 karel.Bewege();
mpickl 0:a688e3381853 18 karel.Move();
mpickl 1:8dbdcd41a812 19 karel.DreheLinks();
mpickl 0:a688e3381853 20 karel.ShutOff();
mpickl 0:a688e3381853 21 }