Hi
I wrote the code below to scroll an array of string but the display in the LCD becomes improper if I extend the number of strings to 6 from 5.
By 'Improper' I mean, the display is something like this,

(Sorry for the poor image quality)
char* var[]={"RISHI ","RIPUNJOY ","BIKASH ","CHAMPAK ","DEEP ","MADHURJYA "};
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
for(int i=0;i<6;i++){
lcd.print(var[i]);
}
delay(1000);
}
void loop() {
// to move it offscreen left:
for (int positionCounter = 0; positionCounter < 46; positionCounter++) {
lcd.scrollDisplayLeft();
delay(500);
}
delay(1000);
}
As you can see, instead of showing the string 'MADHURJYA' it show 'MADHURISHI' and the lettes 'RJYA' shift to second row. This problem does not arises if I keep the string restricted to 5