Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/09 06:38
Read: times


 
#162797 - cascading RI in 89C51
i want to cascade the serial interrupt in my program like

the micro controller should recieve one RI and move to the specific case. in the case statement it must wait for the other to respond accordingly

i am writing the program like this

while(1)
{
if(RI)

m=SBUF

switch(m)
{
case'1':
RI=0;
if(RI)
{
P1=SBUF;
}
case '2':'
----
.
.
.
.
.
}

but this is not working
plz suggest how can i nest the if statement for RI


regards
uzmeed


List of 4 messages in thread
TopicAuthorDate
cascading RI in 89C51            01/01/70 00:00      
   Does it compile?            01/01/70 00:00      
      Deadlock            01/01/70 00:00      
         polled            01/01/70 00:00      

Back to Subject List