Skip to content

Commit

Permalink
Removed lcd.init()
Browse files Browse the repository at this point in the history
Redundant code.
Might confuse novice programmers.
:)
  • Loading branch information
maduperera committed Mar 5, 2018
1 parent 58ed0d4 commit db9488a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/HelloWorld/HelloWorld.pde
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars
void setup()
{
lcd.init(); // initialize the lcd
lcd.init();
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(3,0);
Expand Down

0 comments on commit db9488a

Please sign in to comment.