Professional Documents
Culture Documents
LCD Display: Iot Practicals
LCD Display: Iot Practicals
LCD Display: Iot Practicals
IOT PRACTICALS
CONNECTIONS
• // include the library code:
• #include <LiquidCrystal.h>
PROGRAM-message
• // Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7)
• LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
display
• void setup()
• {
• // set up the LCD's number of columns and rows:
• lcd.begin(16, 2);
• void loop()
• {
• lcd.setCursor(0, 0);// Print a message to the LCD.
• lcd.print(" Hello world!");
• }
SCROLLING TEXT
• #include <LiquidCrystal.h>
• // Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7)