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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/17/05 01:54
Read: times


 
#85067 - More probs
Responding to: ???'s previous message

Dan's correct regarding the missing RET. You don't mention what cpu you're using and at what speed - this is critical for the operation of the lcd display. You code does two things - the lcd display and serial comms - don't try to debug both at the same time - get your lcd stuff working first, then your serial, otherwise you won't know what is causing the problem! For a lcd test, I normally write a known character or string to the display after init, so you know it's getting that far.

The other stumbling block you will run into is the addressing of the lcd isn't linear - the first line is 0...15, the second line is 64.... so your code won't work as you expect. The first line will display then the next 48 chars will disappear, the the next 16 chars will be on the second line, then the chars will disappear until the address counter in the lcd wraps around again. So, you'll need to add code to manage this - just thought I'd warn you.....


List of 7 messages in thread
TopicAuthorDate
LCD & SERIAL Problem            01/01/70 00:00      
   Missing RET            01/01/70 00:00      
   More probs            01/01/70 00:00      
   Xtra Info            01/01/70 00:00      
      Testing?            01/01/70 00:00      
   Obvious, but necessary question.            01/01/70 00:00      
   too much conflict            01/01/70 00:00      

Back to Subject List