baseline build

Dependencies:   FastPWM mbed-os mbed

Revision:
0:8a420ac6394e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CMSerial.h	Mon Jun 19 15:55:51 2017 +0000
@@ -0,0 +1,33 @@
+#ifndef __CMSERIAL_H__
+#define __CMSERIAL_H__
+
+#include "mbed.h"
+//#include "Thread.h"
+
+#include "DeviceProperties.h"
+
+class CMSerial
+{
+public:
+    CMSerial(void);
+    
+private:
+    void ThreadEntry(void);
+    void ProcessCommand(void);
+    bool CommandIs(const char *command);
+    double GetNumericArgument(int index, double defaultValue);
+
+
+private:
+    DeviceConfig deviceConfig;
+    DigitalOut led;
+    Serial serial;
+    rtos::Thread threadSerial; 
+    char line[256];
+    int lineLength;   
+    
+};
+
+#endif
+
+