This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2378: Unable to recieve data from serial hyperteminal to serial port

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...