Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
3:388e441be8df
Parent:
0:28ca4562fe1a
Child:
5:1b9734e68327
--- a/io/MTSSerial.cpp	Mon Apr 13 14:02:48 2015 +0000
+++ b/io/MTSSerial.cpp	Mon Apr 13 17:41:48 2015 +0000
@@ -16,11 +16,14 @@
 
 #include "MTSSerial.h"
 
+// Added new RTS CTS args.    ALS  20150413
+
 using namespace mts;
 
-MTSSerial::MTSSerial(PinName TXD, PinName RXD, int txBufferSize, int rxBufferSize)
+MTSSerial::MTSSerial( PinName TXD, PinName RXD, int txBufferSize, int rxBufferSize,
+                      PinName RTS, PinName CTS )
     : MTSBufferedIO(txBufferSize, rxBufferSize)
-    , serial(TXD,RXD)
+    , serial( TXD, RXD, NULL, RTS, CTS )
 {
     serial.attach(this, &MTSSerial::handleRead, Serial::RxIrq);
     //serial.attach(this, &MTSSerial::handleWrite, Serial::TxIrq);