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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/09 08:42
Read: times


 
#161839 - Use the primitive control codes
Responding to: ???'s previous message
I would guess that you are using a third party library. However I would also guess that lying that it is a 16x2 display should have fooled a library.

You would normally have ROW 1: 0..63
and ROW2: 64..127

and these display positions should work for most 2 line displays.

Just write your own lcd_gotoxy(int x, int y) function.

Perhaps your LCD has not initialised correctly. Try a start-up delay for Vcc to rise to 5V.

David.

List of 5 messages in thread
TopicAuthorDate
Cannot write to Line2 of an LCD            01/01/70 00:00      
   support 80 characters            01/01/70 00:00      
   Use the primitive control codes            01/01/70 00:00      
      controller can handle 64 positions per line            01/01/70 00:00      
   maybe LCD is faulty            01/01/70 00:00      

Back to Subject List