* add C027_Support fork
Fork of C027_Support by
Diff: SerialPipe.h
- Revision:
- 17:296d94a006b4
- Parent:
- 16:4a7ba1887e81
- Child:
- 18:e5697801df29
diff -r 4a7ba1887e81 -r 296d94a006b4 SerialPipe.h --- a/SerialPipe.h Fri Dec 06 09:28:43 2013 +0000 +++ b/SerialPipe.h Fri Jan 31 09:49:51 2014 +0000 @@ -9,6 +9,7 @@ { public: SerialPipe(PinName tx, PinName rx, int rxSize = 128, int txSize = 128); + SerialPipe(PinName tx, PinName rx, PinName rts, PinName cts, int rxSize = 128, int txSize = 128); virtual ~SerialPipe(void); // tx channel int writeable(void); @@ -33,7 +34,6 @@ class SerialPipeEx : public SerialPipe { public: - SerialPipeEx(PinName tx, PinName rx, int rxSize = 128, int txSize = 128); int getLine(char* buffer, int length); static int getLine(char* buffer, int length, Pipe<char>* pipe); int getResp(char* buffer, int length);