LCD help


Closed Thread
Results 1 to 15 of 15

Thread: LCD help

Hybrid View

  1. #1
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    What you may want to do, is one of two things...

    put a character spacing of 1000 (defined at top of program),

    or instead of Looping to the very beginning. Loop to the output again...
    You may be transmitting data too fast for the LCD to respond, and hit the clearLCD before bring printed.

    using your code with a slight mod:

    DEFINE CHAR_PACING 1000

    Pause 1000
    start:
    SEROUT portb.1, 1, [$FE,1] 'supposed to clear screen
    pause 40
    Loop:
    serout portb.1, 1, ["hello world"]
    pause 400
    goto Loop
    end


    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  2. #2
    HCSTechy's Avatar
    HCSTechy Guest


    Did you find this post helpful? Yes | No

    Default

    thanks dwayne,
    i wont be able to try that until monday...
    but I'll definetly let you know if it works

  3. #3
    HCSTechy's Avatar
    HCSTechy Guest


    Did you find this post helpful? Yes | No

    Default

    no it didnt work
    it keeps displaying a character that looks like two I's over and over again
    but its at least doing something different than before

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


    Did you find this post helpful? Yes | No

    Default

    be sure of your baudrate AND the way you need to send the data to your LCD. I mean Inverted or NotInverted

    Wich crystal speed you use?
    ....

    ...


    ...
    Steve

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

  5. #5
    HCSTechy's Avatar
    HCSTechy Guest


    Did you find this post helpful? Yes | No

    Red face

    We have tried everything, nothing works.

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, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  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 will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02: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