![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Funktionen
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
diff -r 000000000000 -r 819b56f15c4c Bertl.lib --- /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
diff -r 000000000000 -r 819b56f15c4c main.cpp --- /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) + { + + } +}
diff -r 000000000000 -r 819b56f15c4c mbed.bld --- /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