Toll-Free Customer Support 24/7

ATmega328 Development Board- LCD


#include<LiquidCrystal.h> // Include the LCD library
LiquidCrystal lcd(2,3,6,7,8,9); //Port P1 Mapping the pins with library

void setup()
{
Serial.begin(9600); //Baud Rate
lcd.begin(16,2); //initializing 16X2 LCD display
}
void loop()
{
lcd.setCursor(0,0); //first line in display
lcd.print("*WELCOME TO RDL*");
delay(3000);
//lcd.clear();
lcd.setCursor(0,1); //second line in display
lcd.print("LEARNING IS FUN");
delay(3000);
lcd.clear();
}

Back to top