urBertl Header

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
MarcelReath
Date:
Thu May 07 10:40:41 2015 +0000
Commit message:
urBertl(test) header

Changed in this revision

bsp.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
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