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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/16/09 08:31
Read: times


 
#162465 - Supplementary question...
Responding to: ???'s previous message
As a supplementary question for extra points, consider the effect of changing

From:
for ( i = 0; i < 1000; i++) 
{ 
   P1_0 = 0; //OFF 
   P1_0 = 1; //ON 
} 

To:
for ( i = 1000; i > 0; i-- ) 
{ 
   P1_0 = 0; //OFF 
   P1_0 = 1; //ON 
} 

Also, investigate the effect(s) of different compiler optimisations...

List of 16 messages in thread
TopicAuthorDate
what is the signal freuency on all ports of at89c52/51            01/01/70 00:00      
   minimum pule is 1086 nanoseconds.            01/01/70 00:00      
      Buzz!            01/01/70 00:00      
   40ns is a very short time            01/01/70 00:00      
   You need a faster MCU            01/01/70 00:00      
      the fastest '51            01/01/70 00:00      
      80ns ?            01/01/70 00:00      
         Sorry about that ...            01/01/70 00:00      
            Still not known if single pulse or pulse train            01/01/70 00:00      
               Where there's a will ...            01/01/70 00:00      
            Timer or PCA            01/01/70 00:00      
               repeat earlier question with clarity            01/01/70 00:00      
                  Timing can't be discussed when C is involved            01/01/70 00:00      
                  Think about it            01/01/70 00:00      
                     Supplementary question...            01/01/70 00:00      
                        At first blush . . .            01/01/70 00:00      

Back to Subject List