Inherit from Serial and use software buffers for TX and RX. This allows the UART peripherals to operate in a IRQ driven mode. Overrides most (but not all) stdio functions as Serial did
Fork of BufferedSerial by
Revision 13:00182678a254, committed 2015-11-01
- Comitter:
- igbt6
- Date:
- Sun Nov 01 21:28:36 2015 +0000
- Parent:
- 12:779304f9c5d2
- Commit message:
- buffered Serial library imported
Changed in this revision
| BufferedSerial.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/BufferedSerial.cpp Sun Jul 26 21:53:11 2015 +0000
+++ b/BufferedSerial.cpp Sun Nov 01 21:28:36 2015 +0000
@@ -32,6 +32,8 @@
return;
}
+
+
BufferedSerial::~BufferedSerial(void)
{
RawSerial::attach(NULL, RawSerial::RxIrq);
