serial debug Monitor

Revision:
1:a2fab59c3b98
Parent:
0:de1f07a7cd82
--- a/debugMonitor.h	Thu Aug 23 10:32:26 2018 +0000
+++ b/debugMonitor.h	Thu Aug 23 17:53:34 2018 +0000
@@ -1,4 +1,5 @@
 #include "mbed.h"
+#include <string>
 
 class debugMonitor
 {
@@ -20,16 +21,13 @@
         * @returns -1 on error
         */
         uint8_t debugMonitor_Init(void);
-  
-        /**
-        * @param led led to set
-        * @param color color to set
-        */
-        void debugMonitor_Job(void);
-  
-
+        
   private:
         /** i2c handler */
         Serial serial;
-      
-};
\ No newline at end of file
+        string commando;
+        void printLine(char *string_p);
+        void readLineCallback();  
+};
+
+