Arduino controlled LCD

/* Arduino controlled LCD 
Created on : 3/5/14*/

#include <LiquidCrystal.h>
LiquidCrystal lcd(4,5,6,7,8,9);
void setup()
{
  lcd.begin(16,2);
  lcd.clear();
  delay(10000);
}

void loop()
{ for(int a=0; a<16; a++)
{  
  lcd.clear();
  lcd.setCursor(a,0);
  lcd.print("I am here "); //text to be displayed on LCD
  // this creates a moving display
  delay(1000);
}

}

Comments