serial debug Monitor

Revision:
0:de1f07a7cd82
Child:
1:a2fab59c3b98
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debugMonitor.h	Thu Aug 23 10:32:26 2018 +0000
@@ -0,0 +1,35 @@
+#include "mbed.h"
+
+class debugMonitor
+{
+  public:
+          /** 
+        * constructor of debugMonitor
+        * 
+        * @param sda SDA pin
+        * @param sdl SCL pin
+        */
+        debugMonitor(PinName tx, PinName rx);
+  
+        /** deconstructor */
+        ~debugMonitor();
+        
+        /**
+        * LP55231 Init
+        * @returns 0 if ok 
+        * @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