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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/31/03 11:24
Read: times


 
#57586 - RE: 100 to 3600 RPM - Peter
Responding to: ???'s previous message
"Interrupts are a very powerful tool and as earlier you learn to use it, as more you like it. "

I could understand your violent reaction to my statement "the software-circus with interrupts is best avoided" .

Only thing you have missed the context in which I made the statement - not to worry. I love interrupts as much as anyone and there is hardly a code of mine that goes without interrupts.

Getting down to specifics :

I said I have a 2ms demux update for each digit. This I am deriving from a basic 1ms ISR.

Suppose I am reading a RPM of 100, then with the 1 pulse/rev disc, this will mean a timing period of 600ms, and thus will have to be interrupted 600 times ! Not very elegant aint it ?

On the other hand if I shift the priority to Measuring then the display demux will be delayed to 600ms. Again not very pleasant ?

Hope it clarifies my stand on interrupts IN THIS CASE.

However your point is well taken and I am reading the finer print in the PCA section !!

Raghu


List of 25 messages in thread
TopicAuthorDate
100 to 3600 RPM            01/01/70 00:00      
   RE: 100 to 3600 RPM            01/01/70 00:00      
      RE: 100 to 3600 RPM            01/01/70 00:00      
         RE: 100 to 3600 RPM - Babar            01/01/70 00:00      
      RE: 100 to 3600 RPM            01/01/70 00:00      
         RE: 100 to 3600 RPM            01/01/70 00:00      
            RE: 100 to 3600 RPM - Peter            01/01/70 00:00      
               RE: 100 to 3600 RPM - Peter            01/01/70 00:00      
               RE: 100 to 3600 RPM - two notes            01/01/70 00:00      
                  it's a dirty job            01/01/70 00:00      
                     RE: it's a dirty job - Erik            01/01/70 00:00      
                        RE: it's a dirty job - Erik            01/01/70 00:00      
         RE: 100 to 3600 RPM            01/01/70 00:00      
            RE: 100 to 3600 RPM            01/01/70 00:00      
               RE: 100 to 3600 RPM            01/01/70 00:00      
                  RE: 100 to 3600 RPM            01/01/70 00:00      
                  RE: 100 to 3600 RPM            01/01/70 00:00      
                  RE: 100 to 3600 RPM            01/01/70 00:00      
   RE: 100 to 3600 RPM            01/01/70 00:00      
      RE: 100 to 3600 RPM            01/01/70 00:00      
         RE: 100 to 3600 RPM            01/01/70 00:00      
            RE: 100 to 3600 RPM            01/01/70 00:00      
      RE: 100 to 3600 RPM            01/01/70 00:00      
         RE: 100 to 3600 RPM            01/01/70 00:00      
            RE: 100 to 3600 RPM            01/01/70 00:00      

Back to Subject List