Samuel Mokrani
/
Wifly_configure
Configure wifly module
Revision 0:a63053b8abc0, committed 2011-11-06
- 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