Configure wifly module

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Sun Nov 06 12:04:58 2011 +0000
Child:
1:20eea0789016
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Nov 06 12:04:58 2011 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX);
+Serial wifi(p9,p10);
+DigitalOut reset(p30);
+
+
+int main() {
+    
+    pc.printf("Test Wifly!\r\n");
+
+    while (1) 
+    {
+        while(pc.readable())
+            wifi.putc(pc.getc());
+        while(wifi.readable())
+            pc.putc(wifi.getc());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Nov 06 12:04:58 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912