2Leds

Dependencies:   mbed

Revision:
1:8dbdcd41a812
Parent:
0:a688e3381853
--- a/de_Bertl.cpp	Fri Mar 20 09:15:20 2015 +0000
+++ b/de_Bertl.cpp	Thu Mar 26 12:35:29 2015 +0000
@@ -1,13 +1,24 @@
 #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)    
+    TurnLedOn(LED_FL1 | LED_FR1); // OR-Verknüpfung
+    // 0000 0001
+    // 0000 0100        OR
+    // 0000 0101    5 oder 0x5   
 }
\ No newline at end of file