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
--- /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
--- /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);
+    }
+}
--- /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