??? 02/25/09 06:52 Read: times |
#162799 - Does it compile? Responding to: ???'s previous message |
while(1) // you say interrupt? a while in an interrupt? { if(RI) m=SBUF; switch(m) // you run the switch even if the is no byte { case '1': RI=0; if(RI) // now you are stuck her even if there is no byte { P1=SBUF; } break; // do you need a break here? case '2': ---- } If you typed it in, instead of pasting it in. then I guess you did not get a good answer. Define not working. does it do anything? |
Topic | Author | Date |
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 |