Use nrf51-dk as a FTDI 232

Dependencies:   mbed

Fork of serial-test by Kentarou Shimatani

main.cpp

Committer:
jensstruemper
Date:
2015-09-07
Revision:
1:58022b0070b7
Parent:
0:b1ba78fdcc98
Child:
2:c5683db5bf11

File content as of revision 1:58022b0070b7:

#include "mbed.h"              
 
Serial pc(USBTX, USBRX);
 
int main() {
    while(1) {
        pc.putc(pc.getc());
    }
}