Fork of the original SoftSerial library with just a little modification in order to compile it with the current mbed version.
Dependents: Adafruit_FONA_Library_FONAtest
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;