LCD and "count": need to clear LCD?


Closed Thread
Results 1 to 5 of 5

Hybrid View

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


    Did you find this post helpful? Yes | No

    Wink The clear pencil

    Quote Originally Posted by Mugel
    Hi You all!

    How can I clear the numbers of my value on the display without flashing the whole thing?

    END
    Hi,

    Just print blank characters ( or new characters) UPON the existing you want to clear ...

    see manual page 94, middle ...

    LCDOUT $FE, $80 ( or $C0 ) + 6 ( or 7 i.e. ! ) , "___" ( 3 blanks or 888 i.e. )

    $FE,$80 + 6 sets the cursor position ... to the 6th position, line 1
    $FE,$C0 + 8 ................................... to the 8th position, line 2
    ...
    ...

    Alain
    ************************************************** ***********************
    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
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Nice example Alain.

    Also, DEC modifier can be useful, too. Like DEC3 CNT or DEC4 CNT etc...
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

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