Dummy needs LCD tutorial,


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink Cooorsicaaaaaaa ....

    I just forgot it was written for a 16F84 ...

    But, in Mel's answer, I didn't see something like :

    LCDOUT $FE, $80, ... to place cursor at the beginning of the 1st line, to be sure to overwrite old text ...



    Alain

    PS: si ça t'intéresse, j'ai les typons pour une petite plaque de démo Kivabien avec un buzzer, trois Leds, 3 E/S , un cavalier de reset ou config et un afficheur LED 2x16...

    ça aide ...beaucoup !!!
    Last edited by Acetronics2; - 28th September 2005 at 15:11.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    > think you forgot a space between " " in the line for kmh<10. Do i have it right ?

    Partially. My example is however correct.

    The first IF statement adds one blank (space).
    The second IF statement adds one blank.

    If the value is < 10 km/h, then BOTH 'if' statements will be excuted adding a total of two blanks. If the value is > 9 and < 100, then only the FIRST 'if' statement is excuted adding only one blank.

  3. #3
    TK5EP's Avatar
    TK5EP Guest


    Did you find this post helpful? Yes | No

    Default ;-)

    Oupssss !
    Next time, i will turn my keyboard 7 times before writing a post !
    Sorry... :-(

    Quote Originally Posted by Melanie
    > think you forgot a space between " " in the line for kmh<10. Do i have it right ?

    Partially. My example is however correct.

    The first IF statement adds one blank (space).
    The second IF statement adds one blank.

    If the value is < 10 km/h, then BOTH 'if' statements will be excuted adding a total of two blanks. If the value is > 9 and < 100, then only the FIRST 'if' statement is excuted adding only one blank.
    Last edited by TK5EP; - 28th September 2005 at 15:28.

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