Microcontroller › 8051 › 8051 keeps executing › Hi ajish I have tried a
Hi ajish
I have tried a simple LCD program also , its working fine
my problem is
serial data i/p has to put on to string say str[20] a global array
den serially display it on the LCD
so now , displaying the string on the LCD is working fine ,but storing the serial input characters in an array is giving the problem i guess
and next,
in my main function think i am firsst displaying “hello world ” on my LCD and then my program enters a while(1); loop
now incase i get a recieve interrupt -> it jumps to ISR gets the character and stores in th array
and den i need to print the string but after the ISR but it goes into the while(1);
what to do ?
den i thought i will use polling method to get the data, but that seems to be a bad practice.
wat do i do now ?
Thank you
Sandeep