FTDI Simulator

Dependencies:   mbed

Fork of Wifly_configure by Samuel Mokrani

main.cpp

Committer:
samux
Date:
2011-11-06
Revision:
1:20eea0789016
Parent:
0:a63053b8abc0
Child:
2:8b5ff73de8f0

File content as of revision 1:20eea0789016:

#include "mbed.h"

Serial pc(USBTX, USBRX);
Serial wifi(p9,p10);


int main() {
    
    pc.printf("Test Wifly!\r\n");

    while (1) 
    {
        while(pc.readable())
            wifi.putc(pc.getc());
        while(wifi.readable())
            pc.putc(wifi.getc());
    }
}