Library to use a wifly module: RN 131 C/G
Dependents: RN-XV_simple_server
Diff: Wifly.h
- Revision:
- 15:044d10aaf9d0
- Parent:
- 14:92ee976db7b9
- Child:
- 17:56f3c4da1ea8
--- 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");