Funktionen

Dependencies:   Bertl mbed

Revision:
0:819b56f15c4c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Dec 21 14:37:29 2015 +0000
@@ -0,0 +1,78 @@
+#include "mbed.h"
+#include "const.h"
+#include "Robot.h"
+
+Robot bertl;
+
+void Bewegen()
+{
+    bertl.Move();
+}
+
+void DrehLinks()
+{
+    bertl.TurnLeft();
+}
+
+void VierUnterenLeds()
+{
+    bertl.NibbleLeds(0x0F);
+}
+
+void LedAnmachen(int16_t led)
+{
+    bertl.TurnLedOn(led);
+}
+
+void LedAusmachen(int16_t led)
+{
+    bertl.TurnLedOff(led);
+}
+
+void RotGrunBlauLED()
+{
+    bertl.RGBLed(1,1,1);
+}
+
+void BlaueLedsAN()
+{
+    bertl.BlueLedsON();   
+}
+
+void BlaueLedsAUS()
+{
+    bertl.BlueLedsOFF();
+}
+
+void WarteBisKnopfGedrucktIst()
+{
+    bertl.WaitUntilButtonPressed();
+}
+
+void VorderseiteIstFrei()
+{
+    bertl.FrontIsClear();
+}
+
+void NebenPiepser()
+{
+    bertl.NextToABeeper();
+}
+
+void IstKnopfGedruckt(const int a)
+{
+    bertl.IsButtonPressed(a);
+}
+
+void KnopfGedrucktZuruckholen()
+{
+    bertl.ReturnButtonPressed(); 
+}
+
+int main() 
+{
+    while(1) 
+    {
+        
+    }
+}