Sample code for testing mbed LPC1114FN28 UART

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002  
00003 Serial pc(dp16, dp15); // tx, rx
00004  
00005 int main() {
00006     while(1){
00007         pc.printf("Hello World!\r\n");
00008         wait(1);
00009     }
00010 }