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
LCD Algorithm
Started by ●July 16, 2004
Reply by ●July 16, 20042004-07-16
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" <JimsJnkMail@Netscape.net> wrote in message news:h2%Jc.48923$IX4.5868144@twister.tampabay.rr.com...> 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 >
Reply by ●July 17, 20042004-07-17
On Sat, 17 Jul 2004 01:12:45 GMT, Jim <JimsJnkMail@Netscape.net> 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 helpdo { 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