LPC1768 UART1 Send and Get "Hello World"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1768 UART1 Send and Get "Hello World"

1,137 Views
leoncorleone
Contributor II

Hello to all first sorry for my poor English.

I have a problem that I don't know how to send a text like "Hello World" by UART1-TXD  in LPC1768 and also How to get "Hello World" from UART1-RXD.

Could somebody help me please.

Very thank you.

Labels (1)
1 Reply

664 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Leon,

   I have a LPC1769 project for your reference.

  Use P2.0 as TXD1,  P2.1 as RXD1.

  The project I already attach it.

  The code function is send out the "hello world" at first, then if you input the "hello world", it will output the hello world.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------