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.
Dependents: 02_DPPU_JUANDA_120 02_DPPU_JUANDA_120_Latest_copy 02_DPPU_JUANDA_120_Latest
Diff: SerialPipe.h
- Revision:
- 140:fd9fe498f142
- Parent:
- 93:2b5478693c20
--- a/SerialPipe.h	Thu Feb 25 13:22:34 2016 +0000
+++ b/SerialPipe.h	Thu Apr 20 08:44:47 2017 +0000
@@ -13,10 +13,11 @@
     /** Constructor
         \param tx the trasmitting pin
         \param rx the receiving pin
+        \param baud the initial baudrate 
         \param rxSize the size of the receiving buffer
         \param txSize the size of the transmitting buffer
     */
-    SerialPipe(PinName tx, PinName rx, int rxSize = 128, int txSize = 128);
+    SerialPipe(PinName tx, PinName rx, int baudrate, int rxSize = 128, int txSize = 128);
     
     /** Destructor
     */