Markus Reiner
/
info_181115_fragenvererbung
Üben
Revision 1:7a59092dbfee, committed 2018-11-15
- 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 |
diff -r 2fa9a939aa50 -r 7a59092dbfee main.cpp --- 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];