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

Dependencies:   Buffer

Fork of BufferedSerial by Sam Grove

Files at this revision

API Documentation at this revision

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
diff -r 779304f9c5d2 -r 00182678a254 BufferedSerial.cpp
--- 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);