Merge pull request #24 from maduperera/master

Removed lcd.init()
master
marcoschwartz 7 years ago committed by GitHub
commit 5c0be63b8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/HelloWorld/HelloWorld.pde

@ -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…
Cancel
Save