Skip to content

Instantly share code, notes, and snippets.

@pthrasher
Created October 6, 2019 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pthrasher/6558974a939c254c56f660ca16b224d1 to your computer and use it in GitHub Desktop.
Save pthrasher/6558974a939c254c56f660ca16b224d1 to your computer and use it in GitHub Desktop.
#include <LiquidCrystal_I2C.h>
#include <DHT.h>
#include <DHT_U.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Hello, world!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1");
lcd.setCursor(0,1);
lcd.print("Power By The Man!!!!!");
}
void loop() {
// put your main code here, to run repeatedly:
lcd.scrollDisplayLeft();
delay(500);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment