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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/08/05 15:00
Read: times


 
#89270 - You are right
Responding to: ???'s previous message
Russell Bull said:
So the tutorial is showing newbies how to do it wrong! It might work on a slow 8051, but with speedy 8051s proliferating - methinks they'll be trouble a plenty. The tutorial doesn't talk about the need to have delays when using a fast cpu either.


You are right. The registers should be set before EN is brought high. You are also right in that it probably will work (and does) with slow 8051's--if I remember correctly, I wrote the LCD tutorial in 1998 so obviously slow 8051's were certainly more the norm than they are today, hence no mention of delays with higher-speed MCUs.

In my defense, I wrote the RTC tutorial after I had written LCD code for a consulting project in which the client provided a photocopy of the datasheet for the LCD that was used in the project. The order in which the tutorial indicates I/O lines should be set reflects what was stated in that datasheet. Since the datasheet instructed me to do it in that order--and it worked --I had no reason to doubt its accuracy. I do seem to recall that the datasheet was written in poor English, though, and it's entirely possible that what was written was not what they meant to say. It's also entirely possible that I misunderstood what they had attempted to write.

In any case, I corrected that error in the RTC tutorial in an offline version some time ago. I'll make a point of fixing the HTML version ASAP.

Regards,
Craig Steiner


List of 22 messages in thread
TopicAuthorDate
Hello World program problem.            01/01/70 00:00      
   More info            01/01/70 00:00      
      Scope ?            01/01/70 00:00      
   Suspect tutorial?            01/01/70 00:00      
      Definitely suspicious!            01/01/70 00:00      
         You are right            01/01/70 00:00      
            Craig, you are not the only one            01/01/70 00:00      
               Of course...            01/01/70 00:00      
                  been there, done that            01/01/70 00:00      
            For what it's worth (not much)            01/01/70 00:00      
      Absolutely !!!            01/01/70 00:00      
         ISIS ?            01/01/70 00:00      
            Isis manufacturer website            01/01/70 00:00      
   Here comes new(?) problem. ^_^;            01/01/70 00:00      
      Correction            01/01/70 00:00      
         Good to hear it really worked. ^_^            01/01/70 00:00      
   Be sure it solves your problem!            01/01/70 00:00      
      Re:            01/01/70 00:00      
   Its ISIS not the code            01/01/70 00:00      
      Status not supported            01/01/70 00:00      
         Polling Vs Delays            01/01/70 00:00      
            What kind of an excuse is that?!            01/01/70 00:00      

Back to Subject List