We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using Keil uv2 to program my AT89C51 and although the UART is working just fine in Simulation but in real circuit its not working i donno why .... cuz there are just ASCII code in the Hyper term but it was suppose to be "Hello to MCU " so could any one plese help me ..... any help is appreciable well my id is sirfrajput@hotmail.com
why don't you try this type of loop for input.
char InputfromSerial (void) { while(!RI); RI=0; i=SBUF; return i; }
why don't you try this type of loop for input. and make everything come to a screeching halt when no input arrives.
see a psychriatist aboy your interruptifobia
Erik