Lcd


Closed Thread
Results 1 to 11 of 11

Thread: Lcd

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Essex, UK
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    How to add start up delay for the LCD;
    It REALLY is as simple as what Mister_E said... where you have your "pause 100" command at the moment, change it to "pause 500". This SHOULD allow enought time for the LCD to settle. If this still does not help, change it to "Pause 2000" and try that. If that still does not work, your problem is unlikely to be LCD settle time. Post back if these do not work

    Regards

    Rob

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    also we don't know your PIC model, it can have analog stuff on any port. If they're not disabled .. it will never work.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    also we don't know your PIC model, it can have analog stuff on any port. If they're not disabled .. it will never work.
    I use pic16f84a and pic16f628a

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    on PIC16F628a you'll have to disable the analog comparator
    CMCON=7

    On both you should make sure the LVP fuse is disabled before programming.

    If your Crystal is >4MHZ be sure the OSC fuse is set to HS AND you have the according DEFIN at the top of your code.

    Be sure the MCLR pin is tie to somewhere

    etc
    etc

    The blink program idea is still remain so far
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    i change PAUSE 100 to PAUSE 200 and it's ok.
    thank you.

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. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 12:43
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30

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