Üben

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mexx
Date:
Thu Nov 15 19:06:27 2018 +0000
Parent:
0:2fa9a939aa50
Commit message:
2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Nov 15 17:30:00 2018 +0000
+++ b/main.cpp	Thu Nov 15 19:06:27 2018 +0000
@@ -1,4 +1,7 @@
 #include "mbed.h"
+#define TRENNZEICHEN "/"
+#define ANZ_FELDER 5
+
 
 // ---------------- Inherited Serial RS232 Event Class  --------------------------
 const uint8_t STRMAX = 80;  
@@ -59,12 +62,18 @@
     }
     return 0;
 }
-class ParsSerial::SerialEventInh
+class ParsSerial::ParsSerial
+{
+    public:
+    ParsSerial(PinName USBTX, PinName USBRX):public ParsSerial(PinName USBTX, PinName USBRX)
+    };
+
 
 ParsSerial ps(USBTX, USBRX);
 
 int main() 
 {
+    char str[]= "Bauteil9/Raum903/Reihe2/PC4/;";
     char str[STRMAX];
     char* pFelder[ANZ_FELDER];