WWW serwer SKM

Dependencies:   SDFileSystem mbed

Fork of SKM_SERWER_WWW by Dawid Bartosiak

main.cpp

Committer:
andcor02
Date:
2015-02-23
Revision:
0:f682dcf80f00
Child:
1:623f51ea713b

File content as of revision 0:f682dcf80f00:

#include "mbed.h"
//Simple program allowing user to send messages from mbed COM out through UART to another UART COM.
//Andrea Corrado
Serial pc(USBTX, USBRX); // tx, rx
Serial uart (PTC17, PTC16);


int main()
{
    while(1) {
        if (pc.readable()) {
            uart.putc(pc.getc());
        }
    }
}