PDA

View Full Version : 8 Characters only on 16x1 LCD



docwisdom
- 11th February 2006, 23:56
Let me know if I am flooding the forum too much with my questions.

I already had a previous post regarding LCD problems. I was finally able to get the LCD to show my characters, but its a 16x1 and only 8 characters work. Also, if I turn up the contrast, it only shows 8 blocks. I have read that they consider the 16x1 a 8x2, so I have tried skipping to the next line and continuing the word, but I have yet to succeed.

Any suggestions?


-brian

Darrel Taylor
- 12th February 2006, 00:16
Hi Doc,

With only 16 posts so far, I think you've got a long way to go before it's too much. And, asking questions is what the forum's here for.

As for the LCD. Since it's actually a 2 line by 8 char display
did you include this define?

DEFINE LCD_LINES 2 ' Number of lines on LCD
<br>

docwisdom
- 12th February 2006, 02:07
hahaha, see, I knew it was something in the programming

is there a way to set a decimal size. Like my program has an up and down button, when you press it you get a value on the lcd from 0 to 255. Is there a way to make it always be 3 decimal places, like 004?


cheers to you

Darrel Taylor
- 12th February 2006, 02:38
Sure can,

Just use the DEC3 modifier for the LCDOUT command.
<br>

docwisdom
- 12th February 2006, 07:32
solved my problem once again