8x2 Lcd


Closed Thread
Results 1 to 7 of 7

Thread: 8x2 Lcd

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    The first thing to do is make sure that the display uses an HD44780 controller.
    You should see the number on one of the chips if it does.

    If it does, then the problem may be due to timing differences.

    Try this ...
    Code:
    DEFINE  LCD_LINES  2
    DEFINE  LCD_COMMANDUS  5000
    DEFINE  LCD_DATAUS   500
    
    PAUSE 3000
    LCDOUT $FE,1
    PAUSE 2000
    
    LCDOUT $FE,1,"HELLO:",$FE,$C0,"WORLD!"
    
    STOP
    And if by chance it works, start reducing the numbers until it stops working, then add a little back in for safety.
    Last edited by Darrel Taylor; - 10th July 2007 at 06:00. Reason: Added LCD_LINES 2
    DT

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 20:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30
  5. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 15:44

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