Created
June 16, 2014 13:31
-
-
Save ArthurGuy/bbe7364a45f848cac10f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x20, 2, 1, 0, 4, 5, 6, 7, 3, NEGATIVE); | |
void setup() | |
{ | |
lcd.begin(8,2); | |
lcd.home(); | |
lcd.print("Hello"); | |
lcd.setCursor ( 0, 1 ); | |
lcd.print("World"); | |
//If the display has a backlight toggle it on and off | |
lcd.setBacklight(true); | |
delay(1000); | |
lcd.setBacklight(false); | |
} | |
void loop() | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment