Sample code for testing mbed LPC1114FN28 UART

Dependencies:   mbed

main.cpp

Committer:
ytsuboi
Date:
2014-04-27
Revision:
0:f5fca6956958

File content as of revision 0:f5fca6956958:

#include "mbed.h"
 
Serial pc(dp16, dp15); // tx, rx
 
int main() {
    while(1){
        pc.printf("Hello World!\r\n");
        wait(1);
    }
}