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.cpp
- Revision:
- 2:9e01a38606b4
- Parent:
- 1:f8b4b764ace7
- Child:
- 5:acfd0329f648
diff -r f8b4b764ace7 -r 9e01a38606b4 SoftSerial.cpp --- a/SoftSerial.cpp Sat Apr 26 15:13:01 2014 +0000 +++ b/SoftSerial.cpp Sat Apr 26 16:21:42 2014 +0000 @@ -27,4 +27,5 @@ _bits = bits; _parity = parity; _stop_bits = stop_bits; + _total_bits = 1 + _bits + _stop_bits + (bool)_parity; }