Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 0:819b56f15c4c, committed 2015-12-21
- Comitter:
- daniel_spajic
- Date:
- Mon Dec 21 14:37:29 2015 +0000
- Commit message:
- Funktionen von Englisch auf Deutsch
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Bertl.lib Mon Dec 21 14:37:29 2015 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/fpucher/code/Bertl/#308802267a62
--- /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)
+ {
+
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Dec 21 14:37:29 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c \ No newline at end of file