Buffered Serial , Using For STM32 Nucleo F401RE and NodeMCU at command

Dependencies:   Buffer

Dependents:   NucleoF401_ESP8622

Fork of BufferedSerial by Sam Grove

Revision:
11:ea5ad8e00c99
Parent:
10:9ee15ae3d1a3
--- a/BufferedSerial.h	Wed Jan 07 18:37:11 2015 +0000
+++ b/BufferedSerial.h	Wed Feb 18 13:40:14 2015 +0000
@@ -138,6 +138,8 @@
      *  @return The number of bytes written to the Serial Port Buffer
      */
     virtual ssize_t write(const void *s, std::size_t length);
+    
+    virtual void clear(void);
 };
 
 #endif