Shop OBEX P1 Docs P2 Docs Learn Events
problem with LCD blink cursor — Parallax Forums

problem with LCD blink cursor

04A23604A236 Posts: 18
edited 2004-12-07 21:06 in BASIC Stamp
Hi all,

having a little problem in getting the cursor to blink with "LCDCMD 1, %00001111"...
wanted to turn on both the block and underline cursor...
tongue.gif

But what came out on the display...·
a second digit outputed to the LCD would erase the previous digit...·
there is an increment in the display though...·
meaning the display does move along with each new digit output to the LCD...

Anyone who faced such problem and found out the reason...
Please guide me along?!!!

Thanks in advance,
Rita

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-07 18:44
    Hmmm ... according to the Hitachi docs, the display control byte is setup like this:

    % 0 0 0 0 1 D C B

    D = Display on/off (1 = on)
    C = Cursor on/off (1 = on)
    B = Blink character under cursor (1 = blink)

    So your code should be correct -- at least that line. Perhaps you should attach more of your program.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • 04A23604A236 Posts: 18
    edited 2004-12-07 21:03
    Hi Jon,

    thanks for replying...

    The·attached is the part of the program that i'm having problem with...
    It's located in program slot 0...

    I suspect that the program is reseting itself clearing the LCD display over and over again...
    sad.gif

    Please advice!

    Thanks a zillion...

    PS: sorry for the messy-ness of the program..

    regards,
    Rita


    Post Edited (04A236) : 12/7/2004 9:22:54 PM GMT
  • allanlane5allanlane5 Posts: 3,815
    edited 2004-12-07 21:06
    HEY! You CAN just attach a file to the post now, you know.

    You don't have to clutter up the thing with pasted-in code.

    Thanks for your attention.
Sign In or Register to comment.