Pages

Wednesday, 18 April 2018

ARM-LPC1768 program to display hello world


1.1.          Display “Hello World” message using Internal UART




Hardware Connection
An USB cable (mini USB) needs to be connected from development board to the PC

.
Output
Output could be seen either on a serial monitor or on a simulator.
§  Using Serial Monitor
1.       Open any serial monitor (like Tera Term, Hyper Term or Docklight etc…).
2.       Set the baud rate to 9600 (if the baud rate is different in your program, change it according).
3.       Now “Hello World” should be displayed continuously.

§  Using inbuilt simulator
1.      Click on “start debugging”
2.       Hit Run

3.       Click on View -> Serial Windows -> UART #1
4.       Watch the output in the UART window.


No comments:

Post a Comment