17 lines
328 B
Arduino
17 lines
328 B
Arduino
|
|
#include <Wire.h>
|
||
|
|
#include <LiquidCrystal_I2C.h>
|
||
|
|
|
||
|
|
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 20 chars and 4 line display
|
||
|
|
|
||
|
|
void setup()
|
||
|
|
{
|
||
|
|
lcd.init(); // initialize the lcd
|
||
|
|
|
||
|
|
// Print a message to the LCD.
|
||
|
|
lcd.backlight();
|
||
|
|
lcd.print("Hello, world!");
|
||
|
|
}
|
||
|
|
|
||
|
|
void loop()
|
||
|
|
{
|
||
|
|
}
|