Project to practice collaboration and header files

Dependencies:   mbed

Revision:
4:779121daed68
Parent:
3:6e8bf95e144d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HostIO.cpp	Mon Jan 11 19:00:56 2016 +0000
@@ -0,0 +1,12 @@
+#include "HostIO.h"
+Serial pc(USBTX,USBRX);
+
+void HostInit(void){
+    pc.printf("\n\rType two idgit numbers to be \n\r");
+    }
+    
+    char GetKeyInput(void){
+        char c = pc.getc();
+        pc.printf("%c",c);
+        return(c&0x0F);
+        }
\ No newline at end of file