Specifications:
Display: 2 lines x 16 characters
Backlight: blue white letter color
Controller LCD: HD44780
Pin Definition: VCC/GND/SDL and SCA
Contrast adjustment: Potentiometer
Backlight Adjustment: jumper,
address Default: 0x27
Voltage: 5V
ตัวอย่าง
#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.setCursor(0,0); lcd.print("[Test Row 1 TEXT1..]");
lcd.setCursor(0,1); lcd.print("[Test Row 2 TEXT2..]");
}
void loop()
{
}