Arnov Sharma
Published © CC BY

LCD I2C Tutorial

Learn how to use an LCD with I2C ASAP.

BeginnerFull instructions provided3 minutes99,393
LCD I2C Tutorial

Things used in this project

Story

Read more

Custom parts and enclosures

enclosure

you can 3D print this

Schematics

Schematics

Code

disp_hello.ino

C/C++
#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,20,4);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd 
  lcd.init();
  // Print a message to the LCD.
  lcd.backlight();
  lcd.setCursor(1,0);
  lcd.print("hello everyone");
  lcd.setCursor(1,1);
  lcd.print("konichiwaa");
}


void loop()
{
}

Credits

Arnov Sharma

Arnov Sharma

51 projects • 83 followers
Just your average MAKER

Comments