Raadys
- 20th May 2013, 12:19
Hi,
I am looking to scroll a second line on LCD Text.
Here is a sample code I used.
int main(){
char *a ="Testing LCD";
char *b ="ScrollingText";
....
....
....
LCDInit();//Fn to intilise LCD
LCD_Write(a,1); // fn to write data on first line of LCD
LCD_Write(b,2); // fn to write data on second line of LCD
while(1){
LCDCommand(0x18); // shifting the entire text to left
LCDDelayms(); // delay
}
}
This code shift both lines of text.
But I want to shift only the second line of LCD.
Any help would be great.
PIC30F5011/ MPLab IDE V8.8 / PICKIT3
Regards,
Raady.
I am looking to scroll a second line on LCD Text.
Here is a sample code I used.
int main(){
char *a ="Testing LCD";
char *b ="ScrollingText";
....
....
....
LCDInit();//Fn to intilise LCD
LCD_Write(a,1); // fn to write data on first line of LCD
LCD_Write(b,2); // fn to write data on second line of LCD
while(1){
LCDCommand(0x18); // shifting the entire text to left
LCDDelayms(); // delay
}
}
This code shift both lines of text.
But I want to shift only the second line of LCD.
Any help would be great.
PIC30F5011/ MPLab IDE V8.8 / PICKIT3
Regards,
Raady.