baseline build

Dependencies:   FastPWM mbed-os mbed

Revision:
0:8a420ac6394e
diff -r 000000000000 -r 8a420ac6394e DebugPort.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DebugPort.cpp	Mon Jun 19 15:55:51 2017 +0000
@@ -0,0 +1,19 @@
+#include "DebugPort.h"
+
+
+DebugPort::DebugPort(void) :  debugport(USBTX, USBRX)
+{
+    debugport.baud(115200);
+}
+
+
+
+
+void DebugPort::Print(string stringData,double data)
+{
+    if(stringData == "")
+        debugport.printf("\r\n");
+    else
+        debugport.printf("%s%lf\r\n",stringData,data);
+}
+