Nathan Hutton
/
WiFly_hello_world
WiFly hello world example
main.cpp
- Committer:
- Nathan
- Date:
- 2011-08-26
- Revision:
- 0:d4e85ed5363b
File content as of revision 0:d4e85ed5363b:
#include "mbed.h" #include "Wifly.h" Wifly * wifly; Serial pc(USBTX, USBRX); int main() { wifly = new Wifly(p9, p10, p20, "network", "password", true); if(wifly->Join()) pc.printf("network joined!\r\n"); else pc.printf("join failed!\r\n"); }