commit
5c0be63b8d
@ -1,7 +1,6 @@
|
|||||||
//YWROBOT
|
//YWROBOT
|
||||||
//Compatible with the Arduino IDE 1.0
|
//Compatible with the Arduino IDE 1.0
|
||||||
//Library version:1.1
|
//Library version:1.1
|
||||||
#include <Wire.h>
|
|
||||||
#include <LiquidCrystal_I2C.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
|
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display
|
||||||
@ -9,7 +8,6 @@ LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars
|
|||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
lcd.init(); // initialize the lcd
|
lcd.init(); // initialize the lcd
|
||||||
lcd.init();
|
|
||||||
// Print a message to the LCD.
|
// Print a message to the LCD.
|
||||||
lcd.backlight();
|
lcd.backlight();
|
||||||
lcd.setCursor(3,0);
|
lcd.setCursor(3,0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user