top of page

Code:

 

#include <LiquidCrystal.h>

​

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  lcd.begin(16, 2);
  lcd.print("hello, world!");
  delay(2000);
  lcd.clear();
}

void loop() { 
  lcd.setCursor(1,0 );
   lcd.print("My Name is Ali");
 
  lcd.setCursor(8, 1);
  lcd.print(millis() / 1000);
}

Case 4 b.gif

Output

This is a simple introductory Arduino project by uses an LCD Screen to display words and timing.

MATERIALS :

1. Arduino UNO R3

2. 220 Ohm Resistor 

3. Potentiometer

4. LCD Screen

bottom of page