hello sir/madam , i am doing project on serial communication between pc and 89c52.all the connections are correct. but the problem is with the receiving of the data in the hyperterminal. when i press some letters in hypeterminal some other letter will be displayed; i am not getting what is the and where is the fault.. could you suggest me some solutions.. thanking you
Above code is for receiving characters.
I think you are displaying the characters which you have typed from keypad.(if not then tell me what actually you want to do?)
for this first you take character from keypad, save it in one register, and then transmit it to hyper terminal.