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:
- 1:f8b4b764ace7
- Parent:
- 0:8edaa7abe724
- Child:
- 2:9e01a38606b4
diff -r 8edaa7abe724 -r f8b4b764ace7 SoftSerial.h --- a/SoftSerial.h Sat Apr 26 14:46:03 2014 +0000 +++ b/SoftSerial.h Sat Apr 26 15:13:01 2014 +0000 @@ -90,13 +90,17 @@ Parity _parity; void rx_gpio_irq_handler(void); - void rx_fall_handler(void); - void rx_handler(bool rise); + void rx_handler(void); + int read_buffer, rx_bit; + volatile int out_buffer; + volatile bool out_valid; + bool rx_error; + Timeout rxout; //tx void tx_handler(void); inline int get_bit(int bit); - Timeout timeout; + Timeout txout; int _char; volatile int tx_bit;