Created
June 4, 2018 21:01
-
-
Save TiMladenov/cffae998b93c1d6881dbfadbd6b73b21 to your computer and use it in GitHub Desktop.
This file contains 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 <LiquidCrystal.h> | |
#include <Wire.h> | |
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // SET I2C Address | |
void setup() { | |
lcd.begin(16,2); // Initialinze LCD. | |
lcd.backlight(); // makes Backligh ON. | |
lcd.clear(); // Clears LCD | |
lcd.home(); // Sets cursor at Column 0 and Line 0 | |
lcd.print("Hello, world!"); | |
lcd.setCursor(0,1); // Sets cursor at Column 0 and Line 1 | |
lcd.print("Robo India"); | |
} | |
void loop() | |
{ | |
// include your code. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment