Not work original Lib on F446RE & L432KC . Change usage prime() & setNext() for both TX and RX function due to unexpected behavior (maybe os TimerEvent function problem)
Dependents: BufferedSoftSerial
Diff: SoftSerial.cpp
- Revision:
- 1:f8b4b764ace7
- Parent:
- 0:8edaa7abe724
- Child:
- 2:9e01a38606b4
--- a/SoftSerial.cpp Sat Apr 26 14:46:03 2014 +0000 +++ b/SoftSerial.cpp Sat Apr 26 15:13:01 2014 +0000 @@ -11,6 +11,7 @@ if (RX != NC) { rx = new InterruptIn(RX); rx_en = true; + out_valid = false; rx->fall(this, &SoftSerial::rx_gpio_irq_handler); }