LCD Algorithm

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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


Re: LCD Algorithm
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.


Quoted text here. Click to load it



Re: LCD Algorithm

Quoted text here. Click to load it

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

Site Timeline