Microcontroller › AVR › UART communication problem › for communicating with PC is
October 2, 2014 at 5:58 am
#12254
Ashutosh Bhatt
Participant
for communicating with PC is is required to set exactly same baud rate at both ends. I think using 4 MHz crystal it wont be possible to generate standard baud rate of 4800 bps or 9600 bps. first calculate required crystal value from 9600 bps baud rate and then use that crysal.
one more thing is whatever you will get from PC will be HEX data. to display it on LCD you have to convert it into ASCII first