Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 10, 2021 01:44
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 parzibyte/0d75065183bbca7518d232a41e20090d to your computer and use it in GitHub Desktop.
Save parzibyte/0d75065183bbca7518d232a41e20090d to your computer and use it in GitHub Desktop.
/*
https://parzibyte.me/blog
*/
#include <Arduino.h>
#include <LiquidCrystal_I2C.h>
// La LCD
LiquidCrystal_I2C lcd(0x3f, 16, 2);
void setup()
{
// Iniciar LCD
lcd.begin(16, 2);
lcd.init();
lcd.backlight(); // Agregar brillo
// Limpiar
lcd.clear();
// Imprimir
lcd.setCursor(0, 0);
lcd.print("LCD y ESP8266");
lcd.setCursor(0, 1); // Segunda fila
lcd.print("parzibyte.me");
}
void loop()
{
// put your main code here, to run repeatedly:
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment