-
-
Save parzibyte/0d75065183bbca7518d232a41e20090d 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
/* | |
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