add Liquid Crystal I2C Library

This commit is contained in:
Siwat Sirichai 2019-08-10 18:38:47 +07:00
parent 1373123656
commit c4de182223
8 changed files with 628 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
// initialize the LCD
lcd.begin();
// Turn on the blacklight and print a message.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
// Do nothing here...
}