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:ae3f2f5383e1, committed 2015-12-21
- Comitter:
- david_burg
- Date:
- Mon Dec 21 14:37:10 2015 +0000
- Commit message:
- Funktionen
Changed in this revision
diff -r 000000000000 -r ae3f2f5383e1 Bertl.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Bertl.lib Mon Dec 21 14:37:10 2015 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/fpucher/code/Bertl/#308802267a62
diff -r 000000000000 -r ae3f2f5383e1 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Dec 21 14:37:10 2015 +0000
@@ -0,0 +1,69 @@
+#include "mbed.h"
+#include "Robot.h"
+#include "const.h"
+
+Robot bertl;
+
+
+
+ void Bunt(bool rot,bool blau,bool grun)
+ {
+ bertl.RGBLed(rot,blau,grun);
+ }
+
+ void Fahren()
+ {
+ bertl.Move();
+ }
+
+ void Rechts()
+ {
+ bertl.TurnLeft();
+ }
+
+ void VierRoteLed(int count)
+ {
+ bertl.NibbleLeds(count);
+ }
+ void LedAn(int16_t led)
+ {
+ bertl.TurnLedOn(led);
+ }
+ void LedAus(int16_t led)
+ {
+ bertl.TurnLedOff(led);
+ }
+ void LedBlauAn()
+ {
+ bertl.BlueLedsON();
+ }
+ void LedBlauAus()
+ {
+ bertl.BlueLedsOFF();
+ }
+ bool WartenBisKnopfGedruckt()
+ {
+ return bertl.WaitUntilButtonPressed();
+ }
+ bool VorneFrei()
+ {
+ return bertl.FrontIsClear();
+ }
+ bool NebenEinenPieper()
+ {
+ return bertl.NextToABeeper();
+ }
+ bool KnopfGedruckt(const int a)
+ {
+ return bertl.IsButtonPressed(a);
+ }
+ int GedruckterKnopfZuruck()
+ {
+ return bertl.ReturnButtonPressed();
+ }
+
+
+int main()
+{
+
+}
\ No newline at end of file
diff -r 000000000000 -r ae3f2f5383e1 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Dec 21 14:37:10 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c \ No newline at end of file