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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/07 13:44
Read: times


 
#135777 - Inefficient code!
Responding to: ???'s previous message
Ahmet Yorukoglu said:
keyboard clock frequency is between 10 kHz and 17 kHz, but my microcontorller work with 22 MHz clock speed.

Exactly - if your code can't cope at 11MHz, that certainly suggests that there is something seriously wrong with it!

Try a search for "efficient C" or "optimum C" or similar.

If you're using Keil, there is a section at the end of their C51 Manual specifically about Writing optimum code...


List of 13 messages in thread
TopicAuthorDate
catching the keyboard clock pulses            01/01/70 00:00      
   More information            01/01/70 00:00      
   more information            01/01/70 00:00      
      Too long in the ISR??            01/01/70 00:00      
         short ISR            01/01/70 00:00      
            Serial data            01/01/70 00:00      
               clock rate            01/01/70 00:00      
                  better, but not good enough            01/01/70 00:00      
                     keyboard clock & system clock            01/01/70 00:00      
                        Inefficient code!            01/01/70 00:00      
   send an e-mail to            01/01/70 00:00      
      And many, many more            01/01/70 00:00      
      AN434 code            01/01/70 00:00      

Back to Subject List