08-16-2017, 10:20 PM
hi i need to check whether gsm has received received any new message or not i have used the code
while(RI==0);
RI=0;
a=SBUF;
if(a=='1')
p0=0xff;
else{}
the program after enter while loop it does not return to next line
while(RI==0);
RI=0;
a=SBUF;
if(a=='1')
p0=0xff;
else{}
the program after enter while loop it does not return to next line