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 SoftSerial by
Diff: SoftSerial.h
- Revision:
- 2:9e01a38606b4
- Parent:
- 1:f8b4b764ace7
- Child:
- 3:7238e9bb74d2
diff -r f8b4b764ace7 -r 9e01a38606b4 SoftSerial.h
--- a/SoftSerial.h Sat Apr 26 15:13:01 2014 +0000
+++ b/SoftSerial.h Sat Apr 26 16:21:42 2014 +0000
@@ -86,7 +86,7 @@
bool tx_en, rx_en;
int bit_period;
- int _bits, _stop_bits;
+ int _bits, _stop_bits, _total_bits;
Parity _parity;
void rx_gpio_irq_handler(void);
@@ -99,7 +99,7 @@
//tx
void tx_handler(void);
- inline int get_bit(int bit);
+ void prepare_tx(int c);
Timeout txout;
int _char;
volatile int tx_bit;
