Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of football_project by
Diff: io/MTSSerial.cpp
- Revision:
- 3:388e441be8df
- Parent:
- 0:28ca4562fe1a
- Child:
- 5:1b9734e68327
diff -r fe1566cdb6e7 -r 388e441be8df io/MTSSerial.cpp
--- 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);
