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: BufferedSoftSerial neurGAI_Seeed_BLUETOOTH LPC-SD-35 ESP-WROOM-02_test ... more
Diff: SoftSerial.h
- Revision:
- 6:517082212c00
- Parent:
- 5:acfd0329f648
- Child:
- 9:4e4617c4a441
--- a/SoftSerial.h Sat Apr 26 20:55:02 2014 +0000
+++ b/SoftSerial.h Sun Apr 27 08:33:17 2014 +0000
@@ -2,7 +2,7 @@
#define SOFTSERIAL_H
#include "mbed.h"
-
+#include "SoftSerial_Ticker.h"
/** A software serial implementation
*
*/
@@ -103,13 +103,12 @@
volatile int out_buffer;
volatile bool out_valid;
bool rx_error;
- Timeout rxout;
- Ticker rxticker;
+ FlexTicker rxticker;
//tx
void tx_handler(void);
void prepare_tx(int c);
- Timeout txout;
+ FlexTicker txticker;
int _char;
volatile int tx_bit;