TestUebung

Dependencies:   mbed ur_Bertl

Committer:
zwiebelturm100
Date:
Fri May 08 07:59:20 2015 +0000
Revision:
0:702a8075c0c6
TestUebung

Who changed what in which revision?

UserRevisionLine numberNew contents of line
zwiebelturm100 0:702a8075c0c6 1 #include "mbed.h"
zwiebelturm100 0:702a8075c0c6 2 #include "ur_Bertl.h"
zwiebelturm100 0:702a8075c0c6 3 #include "de_Bertl.h"
zwiebelturm100 0:702a8075c0c6 4 #include "LED_Bertl.h"
zwiebelturm100 0:702a8075c0c6 5 #include "const.h"
zwiebelturm100 0:702a8075c0c6 6
zwiebelturm100 0:702a8075c0c6 7
zwiebelturm100 0:702a8075c0c6 8
zwiebelturm100 0:702a8075c0c6 9
zwiebelturm100 0:702a8075c0c6 10 int main()
zwiebelturm100 0:702a8075c0c6 11 {
zwiebelturm100 0:702a8075c0c6 12 LED_Bertl karel;
zwiebelturm100 0:702a8075c0c6 13 karel.TurnLedOff(0xFF);
zwiebelturm100 0:702a8075c0c6 14 while(karel.WaitUntilButtonPressed()){}
zwiebelturm100 0:702a8075c0c6 15 karel.Turn2LedOn();
zwiebelturm100 0:702a8075c0c6 16 karel.Bewege();
zwiebelturm100 0:702a8075c0c6 17 karel.Move();
zwiebelturm100 0:702a8075c0c6 18 karel.Turn2LedOff();
zwiebelturm100 0:702a8075c0c6 19 karel.ShutOff();
zwiebelturm100 0:702a8075c0c6 20 }