#include <LiquidCrystal_I2C.h> // if you don´t have I2C version of the display, use LiquidCrystal.h library instead
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
//LiquidCrystal_I2C lcd(0x3f,16,2); // set the LCD address to 0x3f for a 16 chars and 2 line display
// if you don´t know the I2C address of the display, use I2C scanner first (https://playground.arduino.cc/Main/I2cScanner/)
void setup()
{
lcd.init(); // initialize the 16x2 lcd module
lcd.backlight();
//Encender la luz de fondo.
// Escribimos el Mensaje en el LCD.
lcd.print("Control de R");
lcd.setCursor(0, 1);
lcd.print("Ver 1.0 By ");
delay(5000);
lcd.clear(); // enable backlight for the LCD module
}
void loop()
{
// Ubicamos el cursor en la primera posición(columna:0) de la segunda línea(fila:1)
lcd.setCursor(0, 0);
// Escribimos el número de segundos trascurridos
lcd.print("Menu");
//lcd.print(" Segundos");
delay(100);
}