Arduino Program to Print Hello World! on 16×2 Display


Arduino Program to Print Hello World! on 16×2 Display

Arduino LCD "Hello World" Example

This Arduino program demonstrates how to use the LiquidCrystal_I2C library to control an LCD with an I2C interface. The program initializes the LCD, turns on the backlight, and displays the message "Hello World!" on the screen. This simple example is perfect for beginners who are learning to work with LCDs and the I2C communication protocol.


  • Arduino Board: Any Arduino board like Uno, Mega, etc.
  • I2C LCD: A 16x2 LCD with an I2C interface.


LiquidCrystal_I2C: This library simplifies the use of LCDs with an I2C interface. Ensure you have this library installed in your Arduino IDE.

निचे एम्बेड किये गये TinkerCad में आपको लाइव सिमुलेशन देखने के साथ ही कोड भी देखने को मिलेगा जिसे रन करके चला सकते है, Code देखने के लिए कोड बटन पर क्लिक करें या निचे स्क्रॉल करें

M3-R5 Python Programming Practical Solutions

M4-R5 IoT (Arduino Related Questions) Solutions

Arduino Code

Arduino Program to Print Hello World! on Display

#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd_2(32, 16, 2);

void setup()
  lcd_2.init();// Initialize the LCD
  lcd_2.backlight();// Turn on the backlight
  lcd_2.print("Hello World!");// Print "Hello World!" to the LCD

void loop()
  // Nothing to do in the loop


आपको आर्टिकल कैसा लगा? अपनी राय अवश्य दें
Please don't Add spam links,
if you want backlinks from my blog contact me on