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

Revision:
8:506247a040bc
Parent:
7:6fa214b41d73
Child:
9:2cb30392ade6
--- a/BufferedSerial.h	Fri Jan 02 03:47:26 2015 +0000
+++ b/BufferedSerial.h	Sun Jan 04 22:15:53 2015 +0000
@@ -30,8 +30,8 @@
 // Base Class
 #define SERIAL_BASE  RawSerial
 
-// Internal buffer size
-#define BUFFEREDSERIAL_MAX_BUFFER_SIZE   512
+// Internal buffer size (Ring buffers will be 2X this value each for RX and TX...)
+#define BUFFEREDSERIAL_MAX_BUFFER_SIZE   4096
 
 /** A serial port (UART) for communication with other serial devices
  *