Seeed wifi shield hello world program

Dependencies:   WiflyInterface mbed

Fork of Wifly_HelloWorld by Samuel Mokrani

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Sun Nov 06 11:59:55 2011 +0000
Child:
1:49e1e9ed6e39
Commit message:

Changed in this revision

Wifly.lib Show annotated file Show diff for this revision Revisions of this file
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/Wifly.lib	Sun Nov 06 11:59:55 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/samux/code/Wifly/#92ee976db7b9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Nov 06 11:59:55 2011 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "Wifly.h"   
+
+ Wifly wifly(p9, p10, p20, "network", "password", true);
+ Serial pc(USBTX, USBRX);
+ 
+ int main()
+ {
+   if(wifly.join())
+       pc.printf("network joined!\r\n");
+   else
+       pc.printf("join failed!\r\n");
+ }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Nov 06 11:59:55 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912