FTDI Simulator

Dependencies:   mbed

Fork of Wifly_configure by Samuel Mokrani

main.cpp

Committer:
samux
Date:
2011-11-06
Revision:
0:a63053b8abc0
Child:
1:20eea0789016

File content as of revision 0:a63053b8abc0:

#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());
    }
}