LCD Screens allow an Arduino to display specific text such s an IP address or the Temperature.
Functional Parts in the Project:
- Arduino Uno – https://store.arduino.cc/usa/arduino-uno-rev3
- LCD Screen – https://www.adafruit.com/product/1447
- Potentiometer (50K) – https://amzn.to/2N1NH8h
- 220 Ohm Resistors – https://amzn.to/2RiiMD9
- Breadboard Kit – https://amzn.to/2Xih5ei
#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