Inherit from SoftSerial and use software buffers for TX and RX. This allows the SoftSerial to operate in a IRQ driven mode. Overrides most (but not all) stdio functions as SoftSerial did
Dependencies: Buffer SoftSerial
Dependents: 2014_Ensoul_Capstone F103RB_tcp_rtu_modbus_copy_v1_0 SDP_Testing Nucleo_SFM ... more
Fork of BufferedSerial by
Todo: Write something here :)
Diff: BufferedSerial.h
- Revision:
- 3:6b76fcf27545
- Parent:
- 2:7e8a450a9101
- Child:
- 5:4d6a311fc8bf
--- a/BufferedSerial.h Fri May 24 22:00:26 2013 +0000 +++ b/BufferedSerial.h Wed Jun 12 20:40:15 2013 +0000 @@ -73,8 +73,8 @@ class BufferedSerial : public Serial { private: - Buffer <char> _rxbuf; - Buffer <char> _txbuf; + Buffer <char> _rxbuf; + Buffer <char> _txbuf; void rxIrq(void); void txIrq(void);