MODSERIAL with support for more devices. Added support for LPC4330

Dependents:   HC05_AT_mode GPS_U-blox_NEO-6M_Test_Code GPS_U-blox_NEO-6M_Code UbloxGPSWithThread ... more

Fork of MODSERIAL by Erik -

Revision:
31:b90b20f78f04
Parent:
30:b04ce87dc424
Child:
32:f42def64c4ee
--- a/MODSERIAL.h	Sun Sep 01 12:24:12 2013 +0000
+++ b/MODSERIAL.h	Fri Oct 11 18:31:01 2013 +0000
@@ -729,6 +729,19 @@
         return move(s, max, auto_detect_char);
     }
     
+    /**
+    * Function: claim
+    *
+    * Redirect a stream to this MODSERIAL object
+    *
+    * Important: A name parameter must have been added when creating the MODSERIAL object
+    *
+    * @ingroup API
+    * @param FILE *stream The stream to redirect (default = stdout)
+    * @return true if succeeded, else false
+    */    
+    bool claim(FILE *stream = stdout);
+    
     #if 0 // Inhereted from Serial/Stream, for documentation only
     /**
      * Function: putc