i am using PIC 16f877A and 2x16 LCD. i want to scroll the text across the lcd (left to right). i already wrote code to display the text but i dnt know how to scroll it. plz help me.
Code: Select all
void main()
{
LCD_Config(&PORTD,1,0,2,7,6,5,4); // LCD pins that are connected to PIC at PORTD
LCD_Cmd(LCD_CLEAR);
LCD_Out(1,1, "WELCOME TO"); // Print text to LCD, 1st row, 1st column
Delay_ms(1000);
LCD_Out(2,1,"ENGINUS");
}