when i giv the getkey() commmand, the hyperterminal doesn't accept any value. However i am able to transmit from serial port to hyperterminal using sendchar or printf.. eg, sendchar (65); this displays A, as it should
But if i give : int i; printf ("enter your choice 1/2/3"); i=getkey(); sendchar(i);
this does not accept anything at the hyperterminal only the message after printf is displayed.
Please help...
Yes it may sound silly but i have tried everything i could.. I know it is a very simple mistake i am making but can't figure it out.
I connected the COM1 of the board, (as i was using UART1) to that of the computer. The transmitting part is working fine, but i am not able to recieve any thing..Do i have to do any other settings in the Hyperterminal or board which i am overlooking..