The application waits for a specific character "a" in the serial port using getchar()and then outputs a string using printf("hello")once the character is received. The problem is that the application listening for the "hello" gets allways "ahello". Khen Truong
Don't use getchar() to get the input. I believe Keil's getchar() echoes the char back out (I think). Just test RI and then read if ('a' == SBUF) instead.
for information please mail me at smansouria@yahoo.com with complete description to get your answer