hi
i have RS485 that when i enable transmit pin of it and send data its ok but when i want receive something and enable Receive pin cause my usart buffer to fill up whit something that corrupt what i want receive.
how can i clear usart1 buffer of lpc1768 after every transmit to be ready to receive something?
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
thanks allot