0% found this document useful (0 votes)
51 views4 pages

Week - 4: College of Science and Technology Information Technology Department

The document discusses a practical IoT class about connecting an Arduino to an LCD screen. It includes source code to display text on the LCD screen and instructions for a team exercise to read a potentiometer value and display it on the LCD.

Uploaded by

Hanar Ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views4 pages

Week - 4: College of Science and Technology Information Technology Department

The document discusses a practical IoT class about connecting an Arduino to an LCD screen. It includes source code to display text on the LCD screen and instructions for a team exercise to read a potentiometer value and display it on the LCD.

Uploaded by

Hanar Ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

College of Science and Technology

Information Technology Department

Internet of Things(IoT) Practical


2021 – 2022
Semester 7

Lecturer: Hiwa Omer Hassan

Week . 4 : LCD 3.10.2021


Liquid Crystal Display (LCD)
Exercise . 1 Parallel connection between Arduino and LCD

Exercise . 1 Source Code


#include <LiquidCrystal.h>
LiquidCrystal lcd = LiquidCrystal(2, 3, 4, 5, 6, 7);

// C++ code
//

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

void loop()
{
// lcd.clear();

lcd.setCursor(3,0);
lcd.print("UHD - CST");
lcd.setCursor(3,1);
lcd.print("03/10/2021");

//lcd.scrollDisplayLeft();
//lcd.scrollDisplayRight();
//lcd.autoscroll();
//lcd.leftToRight();
//lcd.rightToLeft();}

**** Team Working ****


§ According to previous design try to read the
potentiometer value and display it on LCD Screen.
§ Permit time is 15 mins

**** Quiz ****

You might also like