Software Serial lib
Dependents: BufferedSoftSerial
Fork of SoftSerial by
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;