Library to use a wifly module: RN 131 C/G

Dependents:   RN-XV_simple_server

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Sun Nov 06 12:09:00 2011 +0000
Parent:
14:92ee976db7b9
Child:
16:f524a28790b1
Commit message:

Changed in this revision

Wifly.h Show annotated file Show diff for this revision Revisions of this file
--- a/Wifly.h	Thu Oct 20 09:41:20 2011 +0000
+++ b/Wifly.h	Sun Nov 06 12:09:00 2011 +0000
@@ -44,14 +44,13 @@
  * #include "mbed.h"
  * #include "Wifly.h"
  *
- * Wifly * wifly;
+ * Wifly wifly(p9, p10, p20, "network", "password", true);
  * Serial pc(USBTX, USBRX);
  * 
  * int main()
  * {
- *   wifly = new Wifly(p9, p10, p20, "network", "password", true);
  *   
- *   if(wifly->join())
+ *   if(wifly.join())
  *       pc.printf("network joined!\r\n");
  *   else
  *       pc.printf("join failed!\r\n");