Forum Discussion
Altera_Forum
Honored Contributor
7 years ago --- Quote Start --- However, after every time I send a character, I will get "You entered x" followed by "hello...." then another "you entered" which is blank, before it sends another "hello..", this time waiting for another character. Is there something I'm missing here? Many thanks in advance. --- Quote End --- Your code doesn't consume the CR (or CR/LF) you most likely typed after the character. Consequently it's read (and displayed) next round.