test

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.c Source File

main.c

00001 
00002  #include "mbed.h"              
00003  
00004 Serial pc(USBTX, USBRX);
00005  
00006 int main() {
00007     pc.printf("Echoes back to the screen anything you type\n");
00008     while(1) {
00009         pc.putc(pc.getc());
00010     }
00011 }
00012