2004 5VDC LCD MODULE WITH DRIVER (20X4 CHARACTERS) FOR ARDUINO / FUNDUINO
Security policy
Delivery policy
The 2004 I2C module is a 20 character by 2 line LCD display with a blue background and white backlight. The original 2004 LCD needs 7 IO ports to work. This LCD screen is ready to use because it is compatible with the Arduino liquid crystal library.
Communication protocol: I2C
I2C address: 0x27
Operating voltage: + 5V
Contrast control: through potentiometer
Size: 113.8mm * 60mm
Weight: 30g
//KEYES
//Compatible with the Arduino IDE 1.0
//Library version?.1
#include
#include
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(3,0);
lcd.print("Hello, world!");
lcd.setCursor(2,1);
lcd.print("Hello,keyestudio!");
lcd.setCursor(0,2);
lcd.print("Arduino LCM IIC 2004");
lcd.setCursor(2,3);
lcd.print("Power By Ec-yuan!");
}
void loop()
{
}