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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/02/06 11:41
Read: times


 
#117592 - Think about it:
Responding to: ???'s previous message
What is logocal & technical reason behind it.

Your interrupt-driven solution waits for TI to become 1 ("while(TI!=1){;}" in the main loop, and the ISR sets TI to 0 as soon as it becomes 1 ("if(TI==1)TI=0;').

Guess which of the two function does its stuff first.

List of 9 messages in thread
TopicAuthorDate
Interrupt driven Seril I/O            01/01/70 00:00      
   no way            01/01/70 00:00      
      He's innocent !            01/01/70 00:00      
         no, he is not            01/01/70 00:00      
   the isr clears ti fast...            01/01/70 00:00      
      Discussed here            01/01/70 00:00      
          Interrupt driven Serial I/O            01/01/70 00:00      
            Think about it:            01/01/70 00:00      
            what does what micro did have to do with            01/01/70 00:00      

Back to Subject List