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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/13/06 17:12
Read: times


 
#107321 - thanks
Responding to: ???'s previous message
never use a register for a dedicated purpose, use a variable. Sure, it will "work" if you are careful, but you set a trap for errors occurring with every change to the code.

That's one that I hadn't thought of. Using a variable is always going to be preferable to using a register, but my 'C' based mind hadn't grok'd that yet.

Thanks again.

List of 17 messages in thread
TopicAuthorDate
timer/ counter            01/01/70 00:00      
   clarify            01/01/70 00:00      
   To rephase my Question            01/01/70 00:00      
      what is "the event counter"            01/01/70 00:00      
         Event counter explained            01/01/70 00:00      
            I know what the datasheet (the "bible")            01/01/70 00:00      
   Try prioritizing            01/01/70 00:00      
      About Prioritizing            01/01/70 00:00      
      Priority            01/01/70 00:00      
   Should of been original question sorry !            01/01/70 00:00      
      a few comments            01/01/70 00:00      
         i dont have to stick to P2.2            01/01/70 00:00      
            never us a register for a dedicated purp            01/01/70 00:00      
               Thanks for tip            01/01/70 00:00      
                  you do not need that            01/01/70 00:00      
               thanks            01/01/70 00:00      

Back to Subject List