Hello navid ansari,
About the LPC1768 UART1 485, we have the according sample code for your reference.
I have attached it, please refer to the sample code directly.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------