#include <LiquidCrystal.h>
LiquidCrystal lcd(21,19,18,5,4,2);
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0,0);
for(int thisChar =0; thisChar < 10; thisChar++)
{
lcd.print(thisChar);
delay(500);
}
lcd.setCursor(16,1);
lcd.autoScroll();
for(int thisChar = 0; thisChar < 10; thisChar++){
lcd.print(thisChar);
delay(500);
}
lcd.noAutoScroll();
lcd.clear();
}