http://stackoverflow.com/questions/23280618/liquidcrystal-library-autoscroll-not-working
I am using the LiquidCrystal library with an Arduino UNO to print some text from a serial port.
Now, problem is that whenever I use the autoscroll() function, no text is displayed on the LCD but just to check, I am printing it out on Serial Monitor and it works just fine.
How can I solve this?
void setup(){
lcd.begin(16, 2);
Serial.begin(9600);
}
void loop(){
if (Serial.available()) {
delay(100);
lcd.clear();
lcd.autoscroll();
while (Serial.available() > 0) {
print = Serial.read();
lcd.write(print);
Serial.write(print);
}
}
}
The moment I remove the autoscroll() function, it starts showing up on the LCD. Every other function is working just fine with the LCD.