Marcel Reath
/
ur_bertl_bsp
urBertl Header
Revision 0:f03e558ea282, committed 2015-05-07
- Comitter:
- MarcelReath
- Date:
- Thu May 07 10:40:41 2015 +0000
- Commit message:
- urBertl(test) header
Changed in this revision
diff -r 000000000000 -r f03e558ea282 bsp.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bsp.h Thu May 07 10:40:41 2015 +0000 @@ -0,0 +1,27 @@ +class urBertl() +{ + protected: + bool error(int code); + + public: + void Move(); + void Move(int anz); + void TurnLeft(); + void TurnOff(); +} +class Bertl : public urBertl +{ + protected: + int anzahl; + public: + int Move(); + bool FrontIsClear(); + bool PickBeeper(int anz); +} +class LedBertl : public Bertl +{ + protected: + uint8_t zeit; + public: + string Angzeige(); +} \ No newline at end of file
diff -r 000000000000 -r f03e558ea282 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu May 07 10:40:41 2015 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}
diff -r 000000000000 -r f03e558ea282 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu May 07 10:40:41 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058 \ No newline at end of file