Thx so much 4 your reply and the code you provided. Yes, I know there is a virtual terminal in Proteus. Question, are the virtual terminal same as the hyperterminal of windows? Let’s say if i were to use the virtual terminal, i will need a virtual serial port driver right (read this from somewhere else)? The code you provided is to send characters to the virtual terminal from 8051. However, what I am trying to do is to send data from terminal to 8051 uC. Question, I know I wil have to write codes 4 the uC to receive data but do I have to also write codes for the terminal to send data? So is it automatically the virtual port will understand?
Ya, I know about the max232 and rs232. I’m just very confuse about the terminals. Read through a lot of forums however no one discussed bout this.