LCD 20x4 display characters in wrong place
Posted: Wed Mar 04, 2009 2:29 pm
Hi
Have got the LCD display to work but after the 16th position on the line it goes haywire. The items on the display printed at 0,2 (start of the third line) are printed at the 16,0 (17 position 1st line). Also items at the start of the 4th line 0,3 are printed at the 17th position on the 2nd line 16,1 .
It is as if the diplay is configured as 16x4. Obvouisly works when simulated. Pic is 16F877, clock at 4,000,000.
Regards
Evan
Have got the LCD display to work but after the 16th position on the line it goes haywire. The items on the display printed at 0,2 (start of the third line) are printed at the 16,0 (17 position 1st line). Also items at the start of the 4th line 0,3 are printed at the 17th position on the 2nd line 16,1 .
It is as if the diplay is configured as 16x4. Obvouisly works when simulated. Pic is 16F877, clock at 4,000,000.
Regards
Evan