Dependencies:   mbed

Revision:
0:e5de0a10affa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Aug 19 15:06:34 2011 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+
+//Very simple program to pass whatever the mbed reads on pins 9 and 10 to the computer
+//Baud by default is 9600, you can change this easily.
+
+Serial pc(USBTX, USBRX);
+Serial WIFI(p9,p10);
+
+
+int main() {
+
+    pc.printf("\x1B[2J");
+    pc.printf("\x1B[H");
+    pc.printf("Simple Termial!\r\n");
+
+    while (1) {
+   
+   
+   while(pc.readable())WIFI.putc(pc.getc());
+   while(WIFI.readable())pc.putc(WIFI.getc());
+    
+ }}
\ No newline at end of file