This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Write & Read through UART

Hi,
I tried to write and read data through the UART pins using 'printf' and 'scanf' commands.The simulations in keil and Proteus seems to be OK but when I try to use the hardware the write string at the RXD pin is reflected at the TXD pin partially for the P89V51RD2 and fully for the 89c51. I tried 'puts' and 'gets' routines also. Please help me suggesting C codes for the use.

umar_ka@yahoo.com
19/08/2014

0