We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, i am facing a problem when i want to read the data,i enter the character twice the next time i get a unicode char on the screen................i dont know why.............when i do UART_WRITE() then UART_READ its fine ..........but problem is when i use UART_READ() alone...
Your problem description isn't really clear.
You say you have a problem when you only use UART_READ - which would imply when your uC only reads from the serial port.
But in that case - what screen are you talking about? If it is the PC screen, how did any data arrive there? If a display connected to your uC, then you will have to supply more information about that.
By the way: On the right-hand side of your keyboard, below the backspace key and above the shift key, you have a return or enter key. It works very well to use this key to produce new paragraphs, instead of playing with .............. to separate text segments. If you don't want a new paragraph, but just want to end a sentence, then you use one (1) stop/period/dot. If it happens to be a question, you replace that single dot with a single question mark. Then you have the single exclamation mark. Or - to push the envelope a bit and mark something really strong, you may use three (3) punctuation characters: ???, !!!, ??!, ...