8 Characters only on 16x1 LCD


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    76

    Default 8 Characters only on 16x1 LCD

    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

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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>
    DT

  3. #3
    Join Date
    Jan 2006
    Posts
    76


    Did you find this post helpful? Yes | No

    Default

    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
    Last edited by docwisdom; - 12th February 2006 at 02:25.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Sure can,

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

  5. #5
    Join Date
    Jan 2006
    Posts
    76


    Did you find this post helpful? Yes | No

    Default

    solved my problem once again

Similar Threads

  1. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  2. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  3. Cannot write whole 16 characters using 16x1 lcd
    By hvacrtech in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th October 2007, 15:36
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. LCD 16 characters inline: only first 8 work
    By Mugel in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th October 2006, 22:07

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts