LCD; silly n00b problem...


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    4

    Default LCD; silly n00b problem...

    Hi guys, long term lurker first time poster!

    I have a silly problem...

    I have salvaged an old 1x16 lcd from a phone, I am sure it is HD44780 compatible.

    I am using a pic16f628, but when I try the program all I get is this;


    Any ideas?

    TIA

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi TIA,
    Looks like it is working, you need to add a contrast control.
    http://www.picbasic.co.uk/forum/showthread.php?t=49

    JS
    Last edited by Archangel; - 24th February 2008 at 21:55.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Feb 2008
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    I have a variable resistor for the contrast, all I get is those blocks though...

    This is the code I have;

    PAUSE 1000
    LCDOUT $FE,1
    LCDOUT "Hello World!"
    STOP
    END

    Is that correct?

    TIA - Thanks In Advance.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Show us the whole code. Might be something in the defines.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116


    Did you find this post helpful? Yes | No

    Default

    I would add and the circuit also.

    Ioannis

  6. #6
    Join Date
    Feb 2008
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Ah, I think that might be the problem, that is the whole code!

Similar Threads

  1. LCD problem with 16F628
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 19th September 2016, 08:28
  2. Newbie? Problem with LCD
    By lew247 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 7th December 2009, 19:48
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23: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