16 x 2 LCD Screen on Arduino

LCD Screens allow an Arduino to display specific text such s an IP address or the Temperature.

Functional Parts in the Project:

#include <LiquidCrystal.h>

#define rs 12
#define en 11
#define d4 5
#define d5 4
#define d6 3
#define d7 2

LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {
  lcd.begin(16, 2);
}

void loop() {
  lcd.setCursor(2, 0);
  lcd.print("hello");
  lcd.setCursor(8, 1);
  lcd.print("world");
  }

Be the first to comment

Leave a Reply