muza1988
Newbie level 5
hi
im using pic16f877A and 2x16 lcd. i programmed the pic to scroll the text across lcd. it is scrolling perfectly but the problem is that i want that when the text in row 1 of the lcd scrolls, another text shud scroll on the same row . can u plz help.
im using pic16f877A and 2x16 lcd. i programmed the pic to scroll the text across lcd. it is scrolling perfectly but the problem is that i want that when the text in row 1 of the lcd scrolls, another text shud scroll on the same row . can u plz help.
Code:
int i;
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);
while(1)
{
for(i =0; i<16; i++)
{
Lcd_Cmd(Lcd_CURSOR_OFF);
Lcd_Cmd(Lcd_Clear);
LCD_Out(1,i,"DINNAR BOX");
delay_ms(700);
LCD_Out(1,i,"FOR HAJJ!");
delay_ms(700);
}