1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

LCD Algorithm

Discussion in 'Embedded' started by Jim, Jul 17, 2004.

  1. Jim

    Jim Guest

    Hi,

    Does anyone have a good Algorithm to scroll text across an 8 character
    lcd display using the microchip c18 c compiler library. I would
    appreciate any help

    Thank You

    Jim
    Jim, Jul 17, 2004
    #1
    1. Advertising

  2. Jim

    Rodo Guest

    Most text LCDs provide a function that allows you to shift/scroll the
    display left or right. If you want to scroll up/down the 8 chars.. that a
    whole different thing.


    "Jim" <> wrote in message
    news:h2%Jc.48923$...
    > Hi,
    >
    > Does anyone have a good Algorithm to scroll text across an 8 character
    > lcd display using the microchip c18 c compiler library. I would
    > appreciate any help
    >
    > Thank You
    >
    > Jim
    >
    Rodo, Jul 17, 2004
    #2
    1. Advertising

  3. Jim

    Rich Webb Guest

    On Sat, 17 Jul 2004 01:12:45 GMT, Jim <> wrote:

    >Hi,
    >
    > Does anyone have a good Algorithm to scroll text across an 8 character
    >lcd display using the microchip c18 c compiler library. I would
    >appreciate any help


    do {
    string[0] = string[1];
    string[1] = string[2];
    string[2] = string[3];
    string[3] = string[4];
    string[4] = string[5];
    string[5] = string[6];
    string[6] = string[7];
    string[7] = new_char;
    display_string_on_lcd(string);
    } while scrolling();

    --
    Rich Webb Norfolk, VA
    Rich Webb, Jul 17, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Felix
    Replies:
    1
    Views:
    297
    Robert Myers
    Jul 26, 2004
  2. solmaz
    Replies:
    7
    Views:
    7,029
    Tim Hubberstey
    Jul 24, 2003
  3. Henry

    AVR Algorithm Builder

    Henry, Sep 21, 2003, in forum: Embedded
    Replies:
    9
    Views:
    1,173
  4. Carlos Gomez
    Replies:
    0
    Views:
    314
    Carlos Gomez
    Feb 8, 2004
  5. sebastian
    Replies:
    5
    Views:
    259
    sebastian
    Aug 20, 2004
Loading...

Share This Page